1 # Maintainer: Maxime Gauduin <alucryd@archlinux.org>
2 # Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
3 # Contributor: Peter Lewis <plewis@aur.archlinux.org>
4 # Contributor: Allan McRae <allan@archlinux.org>
5 # Contributor: Tom Newsom <Jeepster@gmx.co.uk>
6 # Contributor: Jesse Juhani Jaara <jesse.jaara@gmail.com>
8 pkgname=lib32-libmikmod
11 pkgdesc="Module player library supporting many formats, including MOD, S3M, IT and XM (32-bit)"
12 url="http://mikmod.sourceforge.net"
28 provides=(libmikmod.so)
30 source=(https://downloads.sourceforge.net/mikmod/libmikmod-$pkgver.tar.gz)
31 md5sums=('f69d7dd06d307e888f466fc27f4f680b')
32 sha256sums=('ad9d64dfc8f83684876419ea7cd4ff4a41d8bcd8c23ef37ecb3a200a16b46d19')
41 export PKG_CONFIG=i686-pc-linux-gnu-pkg-config
43 cmake -S libmikmod-$pkgver -B build -G Ninja \
44 -DCMAKE_INSTALL_PREFIX=/usr \
45 -DCMAKE_BUILD_TYPE=None \
52 DESTDIR="$pkgdir" cmake --install build
53 rm -r "$pkgdir"/usr/{bin,include}
56 # vim:set sw=2 sts=-1 et: