2015-09-17 02:45:22 +02:00
|
|
|
# Template file for 'ampache'
|
|
|
|
pkgname=ampache
|
2016-02-05 04:08:27 +01:00
|
|
|
version=3.8.2
|
2016-02-08 08:20:28 +01:00
|
|
|
revision=2
|
2015-09-17 02:45:22 +02:00
|
|
|
noarch=yes
|
|
|
|
build_style=fetch
|
2016-02-08 08:20:28 +01:00
|
|
|
hostmakedepends="unzip"
|
2015-09-17 02:45:22 +02:00
|
|
|
depends="php mysql"
|
|
|
|
short_desc="Web-based tool for managing your audio/video files"
|
|
|
|
maintainer="Steve Prybylski <sa.prybylx@gmail.com>"
|
2015-12-08 23:12:00 +01:00
|
|
|
license="AGPL-3"
|
2015-09-17 02:45:22 +02:00
|
|
|
homepage="http://ampache.org"
|
2016-02-08 08:20:28 +01:00
|
|
|
distfiles="https://github.com/${pkgname}/${pkgname}/releases/download/${version}/${pkgname}-${version}_all.zip"
|
|
|
|
checksum=b54a4f08248c4389e98ce3f680da0bbc1c19e388e379e6920dc601947acaa3e2
|
2015-09-17 02:45:22 +02:00
|
|
|
|
|
|
|
do_install() {
|
2016-02-08 08:20:28 +01:00
|
|
|
local dest=usr/share/webapps/${pkgname}
|
2015-09-17 02:45:22 +02:00
|
|
|
|
2016-02-08 08:20:28 +01:00
|
|
|
vmkdir $dest
|
|
|
|
unzip ${pkgname}-${version}_all.zip -d ${DESTDIR}/$dest
|
|
|
|
|
|
|
|
vinstall ${FILESDIR}/nginx-example.conf 644 usr/share/doc/${pkgname}
|
2015-09-17 02:45:22 +02:00
|
|
|
}
|