# $Id: PKGBUILD 67536 2012-03-13 11:11:23Z lcarlier $
# Maintainer: Ray Rashif <schiv@archlinux.org>
# Contributor: svoufff <svoufff at gmail dot com>
# Contributor: Shinlun Hsieh <yngwiexx@yahoo.com.tw>

pkgname=libgig
pkgver=3.3.0
pkgrel=2
pkgdesc="C++ library for loading Gigasampler and DLS files"
arch=(i686 x86_64)
url="http://www.linuxsampler.org/libgig/"
license=('GPL')
depends=('gcc-libs' 'util-linux-ng' 'libsndfile')
options=('!libtool' '!makeflags')
source=(http://download.linuxsampler.org/packages/$pkgname-$pkgver.tar.bz2)
md5sums=('fc33e8e948ed2db9b7003a3ecdb78549')

build() {
  cd "$srcdir/$pkgname-$pkgver"

  ./configure --prefix=/usr
  make
}

package() {
  cd "$srcdir/$pkgname-$pkgver"

  make DESTDIR="$pkgdir/" install
}

# vim:set ts=2 sw=2 et: