void-packages/srcpkgs/ampache/template

21 lines
642 B
Bash

# Template file for 'ampache'
pkgname=ampache
version=5.6.2
revision=1
create_wrksrc=yes
hostmakedepends="unzip"
depends="virtual?php-runtime"
short_desc="Web-based tool for managing your audio/video files"
maintainer="Orphaned <orphan@voidlinux.org>"
license="AGPL-3.0-or-later"
homepage="https://ampache.org"
distfiles="https://github.com/ampache/ampache/releases/download/${version}/${pkgname}-${version}_all.zip"
checksum=e406ff9de1537c3854ed9fad2ffdf854e193908617f8f409fa5de9036fed0927
python_version=3
do_install() {
vmkdir usr/share/webapps/${pkgname}
cp -rT ${wrksrc} ${DESTDIR}/usr/share/webapps/${pkgname}
vlicense LICENSE.md
}