summaryrefslogtreecommitdiff
path: root/extra/libsidplay/PKGBUILD
blob: 4d1dfa791c7c4e5a3bc8129a0ef81d01016b0e5f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# $Id: PKGBUILD 78082 2010-04-19 09:22:09Z dgriffiths $
# Maintainer: damir <damir@archlinux.org>
# Contributor: Kritoke <kritoke@gamebox.net>

pkgname=libsidplay
pkgver=1.36.59
pkgrel=4
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
}