summaryrefslogtreecommitdiffstats
path: root/abs
diff options
context:
space:
mode:
Diffstat (limited to 'abs')
-rw-r--r--abs/extra/community/libmodplug/PKGBUILD27
1 files changed, 16 insertions, 11 deletions
diff --git a/abs/extra/community/libmodplug/PKGBUILD b/abs/extra/community/libmodplug/PKGBUILD
index 12c67db..3065783 100644
--- a/abs/extra/community/libmodplug/PKGBUILD
+++ b/abs/extra/community/libmodplug/PKGBUILD
@@ -1,23 +1,28 @@
-# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
-# Maintainer: Jan de Groot <jgc@archlinux.org>
+# $Id$
+# Maintainer:
+# Contributor: Jan de Groot <jgc@archlinux.org>
# Contributor: Patrick Leslie Polzer <leslie.polzer@gmx.net>
pkgname=libmodplug
-pkgver=0.8.4
+pkgver=0.8.8.3
pkgrel=1
pkgdesc="A MOD playing library"
-arch=(i686 x86_64)
+arch=('i686' 'x86_64')
url="http://modplug-xmms.sourceforge.net/"
-license=('GPL')
-depends=(gcc-libs)
-source=(http://downloads.sf.net/sourceforge/modplug-xmms/libmodplug-${pkgver}.tar.gz)
-md5sums=('091bd1168a524a4f36fc61f95209e7e4')
+license=('custom')
+depends=('gcc-libs')
options=('!libtool')
+source=("http://downloads.sourceforge.net/modplug-xmms/${pkgname}-${pkgver}.tar.gz")
+md5sums=('8a9c713f0f56894163ddc61f9a0d1f71')
build() {
- cd ${startdir}/src/libmodplug-${pkgver}
+ cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr
- make || return 1
- make DESTDIR=${startdir}/pkg install
+ make
}
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+ install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}