summaryrefslogtreecommitdiffstats
path: root/abs/extra/libmikmod/PKGBUILD
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-08-07 19:57:45 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-08-07 19:57:45 (GMT)
commit2e1b6b67b37c958a6c8d85626cbbfd4e23f9294e (patch)
tree5aa15cf7b2c3add3d3a53771ee7636c7de73ca02 /abs/extra/libmikmod/PKGBUILD
parent2120f7696cfa53c853eafb21debae9d03e658ce1 (diff)
downloadlinhes_pkgbuild-2e1b6b67b37c958a6c8d85626cbbfd4e23f9294e.zip
linhes_pkgbuild-2e1b6b67b37c958a6c8d85626cbbfd4e23f9294e.tar.gz
linhes_pkgbuild-2e1b6b67b37c958a6c8d85626cbbfd4e23f9294e.tar.bz2
libmikmod 3.1.12
Diffstat (limited to 'abs/extra/libmikmod/PKGBUILD')
-rw-r--r--abs/extra/libmikmod/PKGBUILD37
1 files changed, 29 insertions, 8 deletions
diff --git a/abs/extra/libmikmod/PKGBUILD b/abs/extra/libmikmod/PKGBUILD
index 129e226..e71aa0d 100644
--- a/abs/extra/libmikmod/PKGBUILD
+++ b/abs/extra/libmikmod/PKGBUILD
@@ -1,22 +1,43 @@
-# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
-# Maintainer: arjan <arjan@archlinux.org>
+# $Id: PKGBUILD 149426 2012-02-07 16:55:08Z heftig $
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
+# Contributor: Allan McRae <allan@archlinux.org>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
+
pkgname=libmikmod
pkgver=3.1.12
-pkgrel=2
+pkgrel=4
pkgdesc="A portable sound library"
license=('GPL' 'LGPL')
url="http://sourceforge.net/projects/mikmod/"
arch=('i686' 'x86_64')
depends=('glibc')
-source=(http://downloads.sourceforge.net/mikmod/${pkgname}-${pkgver}.tar.gz)
-md5sums=('9f3c740298260d5f88981fc0d51f6f16')
options=('!libtool')
+install=$pkgname.install
+source=(http://downloads.sourceforge.net/mikmod/${pkgname}-${pkgver}.tar.gz
+ libmikmod-3.1.12-64bit-fix.diff
+ libmikmod-3.1.12-exitcrash-fix.diff
+ libmikmod-3.1.12-loopingvolume-fix.diff
+ libmikmod-3.1.12-md_sngchn-fix.diff
+ libmikmod-CVE-2009-0179.patch)
+md5sums=('9f3c740298260d5f88981fc0d51f6f16'
+ 'dc7ffd8d6d355e9d6ec671b7f2b2adc7'
+ '03a4f5bfcecddf5f515672d6d477b7f7'
+ 'a837fd876cbd2ac27419b802504489db'
+ '076d39de19de36b880ed90297f1ee0d1'
+ 'fa91f4bc17164be32bec0ea7a73f2aaa')
build() {
- cd $startdir/src/$pkgname-$pkgver
- missing_dir="`pwd`" ./configure --prefix=/usr
+ cd $srcdir/$pkgname-$pkgver
+
+ # patches from sdl_mixer-1.2.11 source
+ patch -Np1 -i $srcdir/libmikmod-3.1.12-64bit-fix.diff
+ patch -Np1 -i $srcdir/libmikmod-3.1.12-exitcrash-fix.diff
+ patch -Np1 -i $srcdir/libmikmod-3.1.12-loopingvolume-fix.diff
+ patch -Np1 -i $srcdir/libmikmod-3.1.12-md_sngchn-fix.diff
+ patch -Np1 -i $srcdir/libmikmod-CVE-2009-0179.patch
+
+ ./configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info
make || return 1
- make DESTDIR=$startdir/pkg install
+ make DESTDIR=$pkgdir install
}