diff options
author | Maxwell Beck | 2020-07-04 19:35:38 -0500 |
---|---|---|
committer | Maxwell Beck | 2020-07-04 19:35:38 -0500 |
commit | 35932d6b4e264f8e4947dff7cfb28ea92d4a6d98 (patch) | |
tree | 91d44696a371cc22e866afac51c87b65d746e6b0 | |
download | aur-35932d6b4e264f8e4947dff7cfb28ea92d4a6d98.tar.gz |
init at 2.0.4
-rw-r--r-- | .SRCINFO | 19 | ||||
-rw-r--r-- | PKGBUILD | 47 |
2 files changed, 66 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..a5a5e0007a40 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,19 @@ +pkgbase = libsidplayfp-experimental-svn + pkgdesc = Library to play Commodore 64 music, derived from libsidplay2, experimental development version + pkgver = r2731 + pkgrel = 1 + url = https://sourceforge.net/projects/sidplay-residfp/ + arch = x86_64 + license = GPL + makedepends = subversion + makedepends = vice + makedepends = xa + makedepends = unittestpp + optdepends = vice: better SID support + provides = libsidplayfp=2.0.4 + conflicts = libsidplayfp + source = libsidplayfp-experimental-svn::svn://svn.code.sf.net/p/sidplay-residfp/code/branches/libsidplayfp-experimental + md5sums = SKIP + +pkgname = libsidplayfp-experimental-svn + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..15b6f2237224 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,47 @@ +# Maintainer: Maxwell Beck <max@ryt.one> +pkgname=libsidplayfp-experimental-svn +pkgver=r2731 +pkgrel=1 +pkgdesc="Library to play Commodore 64 music, derived from libsidplay2, experimental development version" +arch=(x86_64) +url="https://sourceforge.net/projects/sidplay-residfp/" +license=('GPL') +groups=() +depends=() +makedepends=('subversion' 'vice' 'xa' 'unittestpp') +optdepends=('vice: better SID support') +provides=('libsidplayfp=2.0.4') +conflicts=(libsidplayfp) +replaces=() +backup=() +options=() +install= +source=("$pkgname::svn://svn.code.sf.net/p/sidplay-residfp/code/branches/libsidplayfp-experimental") +noextract=() +md5sums=("SKIP") + +pkgver() { + cd "$pkgname" + printf "r%s" "$(svnversion | tr -d 'A-z')" +} + +build() { + cd "$pkgname" + autoreconf -i + ./configure --enable-tests --prefix=/usr + make +} + +check() { + cd "$pkgname" + make check +} + +package() { + cd "$pkgname" + make DESTDIR="$pkgdir/" install + install -d "$pkgdir/usr/share/sidplayfp" + ln -t "$pkgdir/usr/share/sidplayfp/" -s "/usr/lib/vice/C64/kernal" + ln -t "$pkgdir/usr/share/sidplayfp/" -s "/usr/lib/vice/C64/basic" + ln -t "$pkgdir/usr/share/sidplayfp/" -s "/usr/lib/vice/C64/chargen" +} |