2015-09-17 02:45:22 +02:00
|
|
|
# Template file for 'ampache'
|
|
|
|
pkgname=ampache
|
2017-06-24 20:40:27 +02:00
|
|
|
version=3.8.3
|
|
|
|
revision=1
|
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"
|
2017-06-24 20:40:27 +02:00
|
|
|
checksum=2f0f593216cdc7976376203c1bcb171fb889bd9876bc6112636a0cc60a4b567b
|
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
|
|
|
}
|