22 lines
698 B
Bash
22 lines
698 B
Bash
# Template file for 'ampache'
|
|
pkgname=ampache
|
|
version=3.8.6
|
|
revision=1
|
|
create_wrksrc=yes
|
|
noarch=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"
|
|
homepage="http://ampache.org"
|
|
distfiles="https://github.com/ampache/ampache/releases/download/${version}/${pkgname}-${version}_all.zip"
|
|
checksum=eded3e54c0c90c7ef11e72008b742fb31078469f640b68762c9b3b435fc9918d
|
|
|
|
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}
|
|
}
|