# $Id: PKGBUILD 198197 2013-10-30 13:23:49Z allan $ # Maintainer: Jan Alexander Steffens (heftig) # Contributor: Allan McRae # Contributor: Tom Newsom pkgname=libmikmod pkgver=3.3.3 pkgrel=1 pkgdesc="A portable sound library" license=(GPL LGPL) url="http://mikmod.shlomifish.org/" arch=(i686 x86_64) depends=(openal sh) makedepends=(alsa-lib) install=$pkgname.install source=($url/files/$pkgname-$pkgver.tar.gz) sha256sums=('79f02478c5abd8b2af73df4cc5f9d52625aa044327c01563168e270cf79b2437') prepare() { mkdir build } build() { cd build ../$pkgname-$pkgver/configure \ --prefix=/usr \ --enable-openal \ --disable-static make } package() { cd build make DESTDIR="$pkgdir" install }