# Contributor: Carlo Landmeter # Maintainer: Natanael Copa pkgname=libmodplug pkgver=0.8.8.4 pkgrel=0 pkgdesc="A MOD playing library" url="http://modplug-xmms.sourceforge.net/" arch="all" license="custom" depends= makedepends= install= subpackages="$pkgname-dev $pkgname-doc" source="http://downloads.sourceforge.net/modplug-xmms/$pkgname-$pkgver.tar.gz" _builddir="$srcdir"/$pkgname-$pkgver prepare() { cd "$_builddir" # apply patches here } build() { cd "$_builddir" ./configure --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info make || return 1 } package() { cd "$_builddir" make DESTDIR="$pkgdir" install || return 1 rm "$pkgdir"/usr/lib/*.la || return 1 install -D -m644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE } md5sums="fddc3c704c5489de2a3cf0fedfec59db libmodplug-0.8.8.4.tar.gz"