# $Id: PKGBUILD 81170 2010-05-26 23:12:54Z ibiru $ # Maintainer: Jan de Groot # Contributor: Patrick Leslie Polzer pkgname=libmodplug pkgver=0.8.8.1 pkgrel=1 pkgdesc="A MOD playing library" arch=(i686 x86_64) url="http://modplug-xmms.sourceforge.net/" license=('custom') depends=('gcc-libs') options=('!libtool') source=(http://downloads.sourceforge.net/sourceforge/modplug-xmms/libmodplug-${pkgver}.tar.gz) md5sums=('f7fa53a60c650024ff51cca88341776b') build() { cd ${srcdir}/libmodplug-${pkgver} ./configure --prefix=/usr || return 1 make || return 1 make DESTDIR=${pkgdir} install || return 1 install -D -m644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE }