void-packages/srcpkgs/ampache/template

24 lines
695 B
Bash
Raw Normal View History

2015-09-17 02:45:22 +02:00
# Template file for 'ampache'
pkgname=ampache
version=3.8.3
revision=1
2015-09-17 02:45:22 +02:00
noarch=yes
build_style=fetch
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"
distfiles="https://github.com/${pkgname}/${pkgname}/releases/download/${version}/${pkgname}-${version}_all.zip"
checksum=2f0f593216cdc7976376203c1bcb171fb889bd9876bc6112636a0cc60a4b567b
2015-09-17 02:45:22 +02:00
do_install() {
local dest=usr/share/webapps/${pkgname}
2015-09-17 02:45:22 +02: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
}