summaryrefslogtreecommitdiff
path: root/extra/libsidplay/PKGBUILD
blob: fc1089abecea8ca1d79b9d05a49ee39227c10df7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# $Id: PKGBUILD 150451 2012-02-17 23:16:31Z allan $
# Maintainer:
# Contributor: Kritoke <kritoke@gamebox.net>

pkgname=libsidplay
pkgver=1.36.59
pkgrel=5.2
pkgdesc="A library for playing SID music files."
arch=('i686' 'x86_64' 'mips64el')
url="http://critical.ch/distfiles/"
license=('GPL')
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 -Np1 -i $srcdir/libsidplay-1.36.59-gcc43.patch
  ./configure --prefix=/usr
  make
}

package() {
  cd ${srcdir}/${pkgname}-${pkgver}
  make DESTDIR=${pkgdir} install || return 1
}