summaryrefslogtreecommitdiff
path: root/extra/libmikmod/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-10-16 00:57:16 -0700
committerroot <root@rshg054.dnsready.net>2013-10-16 00:57:16 -0700
commitc22d00d6478c9a00b4c7e491af65637537247c8f (patch)
treee6346097789cc44df5dc5e4340ad33ffe507b31c /extra/libmikmod/PKGBUILD
parent5d8af7c82b707f4cbda87bb0538fef84daf3791b (diff)
Wed Oct 16 00:56:43 PDT 2013
Diffstat (limited to 'extra/libmikmod/PKGBUILD')
-rw-r--r--extra/libmikmod/PKGBUILD38
1 files changed, 18 insertions, 20 deletions
diff --git a/extra/libmikmod/PKGBUILD b/extra/libmikmod/PKGBUILD
index 3cde12fec..66ba3b4c6 100644
--- a/extra/libmikmod/PKGBUILD
+++ b/extra/libmikmod/PKGBUILD
@@ -1,39 +1,37 @@
-# $Id: PKGBUILD 170549 2012-11-08 15:28:36Z heftig $
+# $Id: PKGBUILD 196633 2013-10-15 21:52:46Z 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.2.0
+pkgver=3.3.3
pkgrel=1
pkgdesc="A portable sound library"
-license=('GPL' 'LGPL')
+license=(GPL LGPL)
url="http://mikmod.shlomifish.org/"
-arch=('i686' 'x86_64')
-depends=('glibc' 'sh')
-makedepends=('alsa-lib')
+arch=(i686 x86_64)
+depends=(openal sh)
+makedepends=(alsa-lib)
options=('!libtool')
install=$pkgname.install
-source=($url/files/$pkgname-$pkgver.tar.gz
- libmikmod-3.2.0-64bit-fix.diff
- libmikmod-3.1.12-loopingvolume-fix.diff)
-md5sums=('96e9820d72a41fe27ff304071739696c'
- '0bb09aac6e83e0a7fd6535961b3cff4c'
- 'a837fd876cbd2ac27419b802504489db')
+source=($url/files/$pkgname-$pkgver.tar.gz)
+sha256sums=('79f02478c5abd8b2af73df4cc5f9d52625aa044327c01563168e270cf79b2437')
-build() {
- cd $pkgname-$pkgver
+prepare() {
+ mkdir build
+}
- # patches from sdl_mixer-1.2.11 source
- patch -Np1 -i $srcdir/libmikmod-3.2.0-64bit-fix.diff
- patch -Np1 -i $srcdir/libmikmod-3.1.12-loopingvolume-fix.diff
-
- ./configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --disable-static
+build() {
+ cd build
+ ../$pkgname-$pkgver/configure \
+ --prefix=/usr \
+ --enable-openal \
+ --disable-static
make
}
package() {
- cd $pkgname-$pkgver
+ cd build
make DESTDIR="$pkgdir" install
}