core/libsidplay/PKGBUILD

24 lines
740 B
Bash
Raw Normal View History

2010-05-17 15:50:50 +08:00
# $Id: PKGBUILD 78082 2010-04-19 09:22:09Z dgriffiths $
2010-03-14 23:48:48 +08:00
# Maintainer: damir <damir@archlinux.org>
# Contributor: Kritoke <kritoke@gamebox.net>
pkgname=libsidplay
pkgver=1.36.59
2010-05-17 15:50:50 +08:00
pkgrel=4
2010-03-14 23:48:48 +08:00
pkgdesc="A library for playing SID music files."
arch=('i686' 'x86_64')
url="http://critical.ch/distfiles/"
license=('GPL')
depends=('gcc-libs')
options=('!libtool')
2010-05-17 15:50:50 +08:00
source=(http://critical.ch/distfiles/${pkgname}-${pkgver}.tgz libsidplay-1.36.59-gcc43.patch)
2010-03-14 23:48:48 +08:00
md5sums=('37c51ba4bd57164b1b0bb7b43b9adece' 'c24d7bca2639f4fee03c40c7dcaadfee')
build() {
2010-05-17 15:50:50 +08:00
cd ${srcdir}/${pkgname}-${pkgver}
2010-03-14 23:48:48 +08:00
patch -p1 < ../libsidplay-1.36.59-gcc43.patch || return 1
./configure --prefix=/usr || return 1
make || return 1
2010-05-17 15:50:50 +08:00
make DESTDIR=${pkgdir} install || return 1
2010-03-14 23:48:48 +08:00
}