void-packages/srcpkgs/ampache/template

22 lines
660 B
Bash
Raw Normal View History

2015-09-17 00:45:22 +00:00
# Template file for 'ampache'
pkgname=ampache
version=3.8.0
revision=1
noarch=yes
build_style=fetch
depends="php mysql"
short_desc="Web-based tool for managing your audio/video files"
maintainer="Steve Prybylski <sa.prybylx@gmail.com>"
license="GPL-2"
homepage="http://ampache.org"
distfiles="https://github.com/${pkgname}/${pkgname}/archive/${version}.tar.gz>${pkgname}-${version}.tar.gz"
checksum=10a167b162af9b0f2c17a6cf0d92bbc6fc3c80b4be802d77defcfe761f177304
do_install() {
tar -zxvf ${pkgname}-${version}.tar.gz
vmkdir srv/httpd/
vcopy ${pkgname}-${version} srv/httpd/ampache
vinstall ${FILESDIR}/nginx-example.conf 644 usr/share/doc/${pkgname}/
}