updated on Sat Jan 14 12:12:45 UTC 2012
[aur-mirror.git] / sidplay2-libs / PKGBUILD
blobceabff44ef81e3f6c8aaeef2d16e120f4125536b
1 # Contributor: Christoph Zeiler <rabyte*gmail>
3 pkgname=sidplay2-libs
4 pkgver=2.1.1
5 pkgrel=4
6 pkgdesc="The new generation of SID emulation"
7 arch=('i686' 'x86_64')
8 url="http://sidplay2.sourceforge.net/"
9 license=('GPL')
10 depends=('gcc-libs')
11 makedepends=('pkgconfig' 'libtool>=1.4b' 'autoconf' 'automake')
12 options=('!emptydirs')
13 source=(http://downloads.sourceforge.net/sidplay2/sidplay-libs-$pkgver.tar.gz \
14         $pkgname-$pkgver.diff)
15 md5sums=('7ea0ba5dc1da4604d15eaae001f7d2a7'
16          '7350bf67b247d040e64e160aae820711')
18 build() {
19   cd sidplay-libs-$pkgver
21   patch -Np1 -i ../$pkgname-$pkgver.diff || return 1
23   export CXXFLAGS+=" -fPIC"
25   autoreconf -i
26   ./configure --prefix=/usr
27   make || return 1
28   make DESTDIR=$pkgdir install