1 # Maintainer: Maxime Gauduin <alucryd@archlinux.org>
2 # Contributor: josephgbr <rafael.f.f1@gmail.com>
3 # Contributor: GordonGR <ntheo1979@gmail.com>
5 pkgname=lib32-libmodplug
8 pkgdesc='A MOD playing library'
10 url=http://modplug-xmms.sourceforge.net/
17 source=(https://downloads.sourceforge.net/project/modplug-xmms/libmodplug/${pkgver}/libmodplug-${pkgver}.tar.gz)
18 sha256sums=(457ca5a6c179656d66c01505c0d95fafaead4329b9dbaa0f997d00a3508ad9de)
21 cd libmodplug-${pkgver}
25 export PKG_CONFIG_PATH=/usr/lib32/pkgconfig
34 cd libmodplug-${pkgver}
36 make DESTDIR="${pkgdir}" install
37 sed 's|includedir=${prefix}/include|includedir=${prefix}/include/libmodplug/|' -i "${pkgdir}"/usr/lib32/pkgconfig/libmodplug.pc
38 rm -rf "${pkgdir}"/usr/include
40 install -dm 755 "${pkgdir}"/usr/share/licenses
41 ln -s libmodplug "${pkgdir}"/usr/share/licenses/lib32-libmodplug