void-packages/srcpkgs/abcm2ps/template

31 lines
851 B
Bash

# Template file for 'abcm2ps'
pkgname=abcm2ps
version=7.8.14
revision=1
_commit=7de1ce8463b56cd26f74bbb9003ba1c742a98341
wrksrc=abcm2ps-${_commit}
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="pango-devel"
short_desc="ABC music notation software"
maintainer="lemmi <lemmi@nerd2nerd.org>"
license="GPL-2"
homepage="http://moinejf.free.fr/"
distfiles="https://github.com/leesavide/abcm2ps/archive/${_commit}.tar.gz"
checksum=06cebb494bad177d15267435a419ce328717d1ac9d9fcb9141124244eb4ce15a
# configure/make does not honor destdir
do_install() {
for d in /usr/bin /usr/share/abcm2ps /usr/share/doc/abcm2ps; do
vmkdir $d
done
vinstall abcm2ps 755 /usr/bin
for f in *.fmt; do
vinstall $f 644 /usr/share/abcm2ps
done
for f in Changes License README.md *.abc *.eps *.txt; do
vinstall $f 644 /usr/share/doc/abcm2ps
done
}