diff options
Diffstat (limited to 'extra/libsidplay/PKGBUILD')
-rw-r--r-- | extra/libsidplay/PKGBUILD | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/extra/libsidplay/PKGBUILD b/extra/libsidplay/PKGBUILD index 4d1dfa791..f5e6a1580 100644 --- a/extra/libsidplay/PKGBUILD +++ b/extra/libsidplay/PKGBUILD @@ -1,23 +1,26 @@ -# $Id: PKGBUILD 78082 2010-04-19 09:22:09Z dgriffiths $ -# Maintainer: damir <damir@archlinux.org> +# $Id: PKGBUILD 150451 2012-02-17 23:16:31Z allan $ +# Maintainer: # Contributor: Kritoke <kritoke@gamebox.net> pkgname=libsidplay pkgver=1.36.59 -pkgrel=4 +pkgrel=5 pkgdesc="A library for playing SID music files." arch=('i686' 'x86_64') url="http://critical.ch/distfiles/" license=('GPL') -depends=('gcc-libs') options=('!libtool') source=(http://critical.ch/distfiles/${pkgname}-${pkgver}.tgz libsidplay-1.36.59-gcc43.patch) md5sums=('37c51ba4bd57164b1b0bb7b43b9adece' 'c24d7bca2639f4fee03c40c7dcaadfee') build() { cd ${srcdir}/${pkgname}-${pkgver} - patch -p1 < ../libsidplay-1.36.59-gcc43.patch || return 1 - ./configure --prefix=/usr || return 1 - make || return 1 + patch -Np1 -i $srcdir/libsidplay-1.36.59-gcc43.patch + ./configure --prefix=/usr + make +} + +package() { + cd ${srcdir}/${pkgname}-${pkgver} make DESTDIR=${pkgdir} install || return 1 } |