21 lines
709 B
Bash
21 lines
709 B
Bash
# Template file for 'ampache'
|
|
pkgname=ampache
|
|
version=3.9.0
|
|
revision=1
|
|
noarch=yes
|
|
create_wrksrc=yes
|
|
hostmakedepends="unzip"
|
|
depends="php mysql"
|
|
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=f7e55513f61f992cb68f72293fe5be2740097eec3557d21e3356d8b710e4e829
|
|
|
|
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}
|
|
}
|