void-packages/srcpkgs/ampache/template

22 lines
661 B
Bash

# Template file for 'ampache'
pkgname=ampache
version=3.8.2
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=920509ed018695ac4698fc257b27a30eebb34e4199da2436954c6a30ba378fb9
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}/
}