diff --git a/srcpkgs/ampache/template b/srcpkgs/ampache/template index 59d5f52c857..8c7df8ba312 100644 --- a/srcpkgs/ampache/template +++ b/srcpkgs/ampache/template @@ -1,23 +1,21 @@ # Template file for 'ampache' pkgname=ampache -version=3.8.3 +version=3.8.4 revision=1 +create_wrksrc=yes noarch=yes -build_style=fetch hostmakedepends="unzip" depends="php mysql" short_desc="Web-based tool for managing your audio/video files" maintainer="Steve Prybylski " license="AGPL-3" homepage="http://ampache.org" -distfiles="https://github.com/${pkgname}/${pkgname}/releases/download/${version}/${pkgname}-${version}_all.zip" -checksum=2f0f593216cdc7976376203c1bcb171fb889bd9876bc6112636a0cc60a4b567b +distfiles="https://github.com/ampache/ampache/releases/download/${version}/${pkgname}-${version}_all.zip" +checksum=baffbcd38a2b7c3d53f2de2969e0284ac74880a1ae2901e6445df31e0ebaf29c do_install() { - local dest=usr/share/webapps/${pkgname} - - vmkdir $dest - unzip ${pkgname}-${version}_all.zip -d ${DESTDIR}/$dest - + vmkdir usr/share/webapps/${pkgname} + cp -rT ${wrksrc} ${DESTDIR}/usr/share/webapps/${pkgname} + vlicense docs/AGPL-LICENSE vinstall ${FILESDIR}/nginx-example.conf 644 usr/share/doc/${pkgname} }