# $Id: PKGBUILD 211565 2014-04-20 06:13:57Z bisson $ # Maintainer: Gaetan Bisson # Contributor: Simon Perry # Contributor: Jonas Nyrén pkgname=libsidplayfp pkgver=1.4.1 pkgrel=1 pkgdesc='Library to play Commodore 64 music derived from libsidplay2' url='http://sourceforge.net/projects/sidplay-residfp/' arch=('i686' 'x86_64') license=('GPL') depends=('gcc-libs') makedepends=('vice') optdepends=('vice: better SID support') source=("http://downloads.sourceforge.net/project/sidplay-residfp/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.gz") sha1sums=('2c3e7a3db73f3d64ce6c5ef07eb61cce22eeddd1') 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} }