void-packages/srcpkgs/mac/template

28 lines
767 B
Bash

# Template file for 'mac'
pkgname=mac
version=3.99u4b5s7
revision=2
_version=$(echo $version | sed 's/\([a-z]\)/-\1/g')
short_desc="APE (Monkey's Audio) codec and decompressor"
homepage="http://www.etree.org/shnutils/shntool/"
license="custom"
maintainer="Georg S. <gescha@posteo.de>"
build_style=gnu-configure
wrksrc=${pkgname}-${_version}
distfiles="http://www.etree.org/shnutils/shntool/support/formats/ape/unix/${_version}/${pkgname}-${_version}.tar.gz"
checksum=9a735af2c56f05ee06b6e2ff719e902271299adf9e25cd3c9e4b28e8df3e30c5
mac-devel_package() {
depends="${sourcepkg}-${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/*.a
vmove usr/lib/*.so
}
}
post_install() {
vlicense src/License.htm
}