archrelease: copy trunk to extra-x86_64
[arch-packages.git] / libsidplayfp / trunk / PKGBUILD
blobfdc12e1c960da74cfc6e836cfb0cdd483d24785e
1 # Maintainer:
2 # Contributor: Alexander F. Rødseth <xyproto@archlinux.org>
3 # Contributor: Gaetan Bisson <bisson@archlinux.org>
4 # Contributor: Simon Perry <aur [at] sanxion [dot] net>
5 # Contributor: Jonas Nyrén <jonas.nyren*mindkiller.com>
7 pkgname=libsidplayfp
8 pkgver=2.4.2
9 pkgrel=1
10 pkgdesc='Library to play Commodore 64 music, derived from libsidplay2'
11 url='https://github.com/libsidplayfp/libsidplayfp'
12 arch=(x86_64)
13 license=(GPL)
14 depends=(libgcrypt)
15 makedepends=(vice xa)
16 optdepends=('vice: better SID support')
17 source=("https://downloads.sourceforge.net/project/sidplay-residfp/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.gz")
18 sha256sums=('62ebe085361eb2ee57f0f08abe2246599b180727703fc300101a8d1a97c6de7d')
20 build() {
21   cd $pkgname-$pkgver
22   ./configure --prefix=/usr
23   make
26 package() {
27   DESTDIR="$pkgdir" make -C $pkgname-$pkgver install
28   install -d "$pkgdir/usr/share/sidplayfp"
29   ln -t "$pkgdir/usr/share/sidplayfp" -s /usr/share/vice/C64/{kernal,basic,chargen}