void-packages/srcpkgs/ampache/template

22 lines
717 B
Bash

# Template file for 'ampache'
pkgname=ampache
version=4.2.3
revision=1
create_wrksrc=yes
hostmakedepends="unzip"
depends="php mariadb"
short_desc="Web-based tool for managing your audio/video files"
maintainer="Steve Prybylski <sa.prybylx@gmail.com>"
license="AGPL-3.0-or-later"
homepage="http://ampache.org"
distfiles="https://github.com/ampache/ampache/releases/download/${version}/${pkgname}-${version}_all.zip"
checksum=26e5984d5582c0bd1789626c7b07ce86ada86d64e0e5549baac625236a36e5ad
python_version=2
do_install() {
vmkdir usr/share/webapps/${pkgname}
cp -rT ${wrksrc} ${DESTDIR}/usr/share/webapps/${pkgname}
vlicense docs/AGPL-LICENSE
vinstall ${FILESDIR}/nginx-example.conf 644 usr/share/doc/${pkgname}
}