1 # Maintainer: David Runge <dvzrv@archlinux.org>
6 pkgdesc="A library to render tracker music to a PCM audio stream"
8 url="https://lib.openmpt.org/libopenmpt/"
14 libogg # required by pkgconf
27 provides=(libopenmpt.so)
28 source=($pkgname-$pkgver.tar.gz::https://lib.openmpt.org/files/libopenmpt/src/$pkgname-$pkgver+release.autotools.tar.gz)
29 sha512sums=('65468341b24d80f8bf0e9cf32d43b3ca3ced0323836373ae3c794b6df5b23d7e9c230ec37dd00777e22038d340adb56b20b83815e048fae22117ead0b4044bba')
30 b2sums=('5bc9ad5640e842d7320df59c76cae7619a36dab72a5b084a65ab0b99f00d48ce1aaca4c7344a9e14eab05bd3f05c8f60a93bce68e99cd5f93344453dee90d29f')
33 cd $pkgname-$pkgver+release.autotools
38 cd $pkgname-$pkgver+release.autotools
39 ./configure --prefix=/usr
40 # prevent excessive overlinking due to libtool
41 sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
46 make -k check -C $pkgname-$pkgver+release.autotools
50 cd $pkgname-$pkgver+release.autotools
51 make DESTDIR="$pkgdir" install
52 install -vDm 644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/"