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=('478fa22a09034695684550ac56a2366126cbf276e02642d3e05968ae6c5c14e7970adde2ab20bc1a26be78d4aabf90c5cb12d4f74f1f30e546e5ea0440c669f3')
30 b2sums=('3292b843281309ef6dcc110179c25d7e9962bb34fc9c6cc8929b6a3ac027a6726cfa51d4c726d3afb246022b4d28975c8f7666abbe37d41f0b31c732572de83e')
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/"