void-packages/srcpkgs/ampache/template
Steve Prybylski b5ab3c4c86 ampache: fix distfiles; change install location.
- All deps are now shipped with zip archive.
- Use the standard - usr/share/webapps - as install location.
2016-02-08 18:59:48 -05:00

23 lines
695 B
Bash

# Template file for 'ampache'
pkgname=ampache
version=3.8.2
revision=2
noarch=yes
build_style=fetch
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/${pkgname}/${pkgname}/releases/download/${version}/${pkgname}-${version}_all.zip"
checksum=b54a4f08248c4389e98ce3f680da0bbc1c19e388e379e6920dc601947acaa3e2
do_install() {
local dest=usr/share/webapps/${pkgname}
vmkdir $dest
unzip ${pkgname}-${version}_all.zip -d ${DESTDIR}/$dest
vinstall ${FILESDIR}/nginx-example.conf 644 usr/share/doc/${pkgname}
}