summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorSebastian Wolf2016-10-26 14:32:29 +0200
committerSebastian Wolf2016-10-26 14:33:02 +0200
commit96f31262208b3df9994240f0fc0cd630bc743889 (patch)
tree82b94099ea0126a76813786f701e47654b17e7f6 /PKGBUILD
downloadaur-96f31262208b3df9994240f0fc0cd630bc743889.tar.gz
Initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD46
1 files changed, 46 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..4a20fb77146
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,46 @@
+# Maintainer: Sebastian Wolf <fatmike303 at gmail dot com>
+# Contributor: grimi <grimi at poczta dot fm>
+pkgname=vice-sdl-devel
+_pkgname=vice
+pkgver=2.4.31
+pkgrel=1
+pkgdesc='The Versatile Commodore 8-bit Emulator (development release using SDL)'
+arch=('i686' 'x86_64')
+license=('GPL')
+url='http://vice-emu.sourceforge.net'
+depends=('sdl' 'libpulse' 'portaudio' 'mpg123' 'mesa' 'pciutils' 'giflib' 'libpng' 'libpcap' 'libjpeg-turbo')
+makedepends=('xorg-font-utils')
+provides=('vice=$pkgver')
+conflicts=('vice' 'vice-gtk' 'vice-sdl' 'vice-gtkglext' 'vice-gnomeui-devel')
+replaces=('vice')
+options=('!makeflags')
+source=(
+ http://downloads.sourceforge.net/project/vice-emu/development-releases/${_pkgname}-${pkgver}.tar.gz
+ no-fc-cache-no-lib64.patch
+ ${_pkgname}.desktop
+ ${_pkgname}.png
+)
+sha256sums=(
+ 4c38685de5f492463cf1b0a570909bfba0dc5c2ffab3218081b630a47118f4a5
+ b0254ac814918d76c60d0130f0e8e874c71aaf77e979a36c6a67dbbf7322cbb5
+ e0a600d72c2352826282a0f7fcf380b24272fba10a9ed31c8fd45a21d597f3ad
+ 0d51f822b70d24bbc9d813d552138660cf705aaaecc12115bc1416364e1473b3
+)
+
+prepare() {
+ cd ${srcdir}/${_pkgname}-${pkgver}
+ patch -Np1 -i ../no-fc-cache-no-lib64.patch
+}
+
+build() {
+ cd ${srcdir}/${_pkgname}-${pkgver}
+ ./configure --prefix=/usr --enable-fullscreen --enable-sdlui --with-sdlsound --enable-ethernet
+ make
+}
+
+package() {
+ install -Dm644 ${_pkgname}.desktop $pkgdir/usr/share/applications/${_pkgname}.desktop
+ install -Dm644 ${_pkgname}.png $pkgdir/usr/share/pixmaps/${_pkgname}.png
+ cd ${srcdir}/${_pkgname}-${pkgver}
+ make DESTDIR=${pkgdir} install
+}