# Maintainer: OSAMC # Contributor: Christopher Arndt # Contributor: Tuyen Pham # Contributor: Lex Black # Contributor: Simon Thorpe # Contributor: kess # Contributor: damir # Contributor: Luis Pablo Gasparotto pkgname=abcm2ps pkgver=8.14.15 pkgrel=1 pkgdesc='Convert ABC music notation files to PostScript from the command line' arch=(x86_64 aarch64) url='http://moinejf.free.fr/' license=(GPL3) depends=(glibc) makedepends=(freetype2 glib2 pango python-docutils) checkdepends=(adobe-source-han-sans-cn-fonts) groups=(abc pro-audio) source=("$pkgname-$pkgver.tar.gz::https://github.com/lewdlime/$pkgname/archive/v$pkgver.tar.gz") sha256sums=('5f02ac6203c4226cfbc6206935dca715ed7c45328535ee23e776c9da0219c822') build() { cd $pkgname-$pkgver ./configure --prefix=/usr make } check() { cd $pkgname-$pkgver rm -f *.ps make -j1 test } package() { depends+=(libpangocairo-1.0.so libpangoft2-1.0.so libpango-1.0.so libgobject-2.0.so libglib-2.0.so libfreetype.so) cd $pkgname-$pkgver make prefix="$pkgdir"/usr docdir="$pkgdir"s/usr/share/doc install }