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
2016-02-05 04:08:27 +01:00
version=3.8.2
revision=2
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=b54a4f08248c4389e98ce3f680da0bbc1c19e388e379e6920dc601947acaa3e2
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
}