void-packages/srcpkgs/ampache/template

22 lines
661 B
Bash

# Template file for 'ampache'
pkgname=ampache
version=3.8.1
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="AGPL-3"
homepage="http://ampache.org"
distfiles="https://github.com/${pkgname}/${pkgname}/archive/${version}.tar.gz>${pkgname}-${version}.tar.gz"
checksum=2eff94b5674ceb3cfc3a53c1addb297b016f74b1e732f17e9d05920f2ed2a35a
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}/
}