summaryrefslogtreecommitdiff
path: root/extra/libsidplayfp
diff options
context:
space:
mode:
Diffstat (limited to 'extra/libsidplayfp')
-rw-r--r--extra/libsidplayfp/PKGBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/extra/libsidplayfp/PKGBUILD b/extra/libsidplayfp/PKGBUILD
new file mode 100644
index 000000000..db97cbc97
--- /dev/null
+++ b/extra/libsidplayfp/PKGBUILD
@@ -0,0 +1,31 @@
+# $Id: PKGBUILD 189835 2013-07-08 22:03:31Z bisson $
+# Maintainer: Gaetan Bisson <bisson@archlinux.org>
+# Contributor: Simon Perry <aur [at] sanxion [dot] net>
+# Contributor: Jonas Nyrén <jonas.nyren*mindkiller.com>
+
+pkgname=libsidplayfp
+pkgver=1.0.3
+pkgrel=2
+pkgdesc='Library to play Commodore 64 music derived from libsidplay2'
+url='http://sourceforge.net/projects/sidplay-residfp/'
+arch=('i686' 'x86_64')
+license=('GPL')
+makedepends=('vice')
+optdepends=('vice: better SID support')
+source=("http://downloads.sourceforge.net/project/sidplay-residfp/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.gz")
+sha1sums=('967426a369122b9398c60be0e7d0b78753e23f3e')
+
+options=('!libtool' '!staticlibs')
+
+build() {
+ cd "${pkgname}-${pkgver}"
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+ install -d "${pkgdir}/usr/share/sidplayfp"
+ ln -t "${pkgdir}/usr/share/sidplayfp" -s /usr/lib/vice/C64/{kernal,basic,chargen}
+}