void-packages/srcpkgs/ampache/template

21 lines
644 B
Bash

# Template file for 'ampache'
pkgname=ampache
version=5.5.1
revision=1
create_wrksrc=yes
hostmakedepends="unzip"
depends="php8.1 mariadb"
short_desc="Web-based tool for managing your audio/video files"
maintainer="Steve Prybylski <sa.prybylx@gmail.com>"
license="AGPL-3.0-or-later"
homepage="https://ampache.org"
distfiles="https://github.com/ampache/ampache/releases/download/${version}/${pkgname}-${version}_all.zip"
checksum=3e37839058c263be990915759eecab9b5da3ec324638a7ff7d8094516f56a85c
python_version=3
do_install() {
vmkdir usr/share/webapps/${pkgname}
cp -rT ${wrksrc} ${DESTDIR}/usr/share/webapps/${pkgname}
vlicense LICENSE.md
}