summaryrefslogtreecommitdiff
path: root/extra/libsidplay/PKGBUILD
blob: 8c9e4a9a7aa4f9f8040cad14f556819f982ceaea (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
27
28
29
# $Id: PKGBUILD 199975 2013-11-20 12:18:31Z allan $
# Maintainer:
# Contributor: Kritoke <kritoke@gamebox.net>

pkgname=libsidplay
pkgver=1.36.59
pkgrel=6
pkgdesc="A library for playing SID music files."
arch=('i686' 'x86_64' 'mips64el')
url="http://critical.ch/distfiles/"
license=('GPL')
source=(http://critical.ch/distfiles/${pkgname}-${pkgver}.tgz libsidplay-1.36.59-gcc43.patch)
md5sums=('37c51ba4bd57164b1b0bb7b43b9adece' 'c24d7bca2639f4fee03c40c7dcaadfee')

prepare() {
  cd ${srcdir}/${pkgname}-${pkgver}
  patch -Np1 -i $srcdir/libsidplay-1.36.59-gcc43.patch
}

build() {
  cd ${srcdir}/${pkgname}-${pkgver}
  ./configure --prefix=/usr
  make
}

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