PKGBUILDs/extra/libsidplay/PKGBUILD

24 lines
722 B
Bash
Raw Normal View History

2009-10-10 02:23:22 +00:00
# $Id: PKGBUILD 35577 2009-04-14 04:44:52Z eric $
# Maintainer: damir <damir@archlinux.org>
# Contributor: Kritoke <kritoke@gamebox.net>
pkgname=libsidplay
pkgver=1.36.59
pkgrel=3
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
make DESTDIR=$pkgdir install || return 1
}