1 # Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
2 # Contributor: David Runge <dvzrv@archlinux.org>
3 # Contributor: Allan McRae <allan@archlinux.org>
4 # Contributor: Tom Newsom <Jeepster@gmx.co.uk>
9 pkgdesc="Module player library supporting many formats, including MOD, S3M, IT and XM"
10 url="http://mikmod.sourceforge.net"
26 provides=(libmikmod.so)
27 source=(https://downloads.sourceforge.net/mikmod/libmikmod-$pkgver.tar.gz
29 md5sums=('f69d7dd06d307e888f466fc27f4f680b'
30 'e8a338d92027072971f49b495e87c442')
31 sha256sums=('ad9d64dfc8f83684876419ea7cd4ff4a41d8bcd8c23ef37ecb3a200a16b46d19'
32 '3331b6ff7f6f3dfd33f543d64affc10a127f61bed1160f75b07344c03f21b840')
36 patch -Np1 -i ../cmake-man.diff
40 cmake -S libmikmod-$pkgver -B build -G Ninja \
41 -DCMAKE_INSTALL_PREFIX=/usr \
42 -DCMAKE_BUILD_TYPE=None \
48 DESTDIR="$pkgdir" cmake --install build
50 install -Dt "$pkgdir/usr/share/aclocal" -m644 libmikmod-$pkgver/libmikmod.m4
51 install -Dt "$pkgdir/usr/share/doc/$pkgname" -m644 \
52 libmikmod-$pkgver/{NEWS,README,TODO} build/docs/mikmod.html
53 install -Dt "$pkgdir/usr/share/info" build/docs/mikmod.info
54 install -Dt "$pkgdir/usr/share/man/man1" build/docs/libmikmod-config.1
57 # vim:set sw=2 sts=-1 et: