summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f49e9aa81f2e9ecf468a8b839837fe0ed6db4d94 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# Maintainer: OSAMC <https://github.com/osam-cologne/archlinux-proaudio>
# Contributor: Christopher Arndt <aur -at- chrisarndt -dot- de>
# Contributor: Tuyen Pham <tuyenpm9@gmail.com>
# Contributor: Lex Black <autumn-wind@web.de>
# Contributor: Simon Thorpe <simon@hivetechnology.com.au>
# Contributor: kess <joe@macmahon.eu>
# Contributor: damir <damir@archlinux.org>
# Contributor: Luis Pablo Gasparotto <lpgasparotto(at)gmail(dot)com>

pkgname=abcm2ps
pkgver=8.14.14
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=('5b39ca08cd5e0d1992071b0be9eb77304489823824570236c4df4dc0f8b33aab')

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
}