summaryrefslogtreecommitdiff
path: root/extra/vice/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/vice/PKGBUILD')
-rw-r--r--extra/vice/PKGBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/extra/vice/PKGBUILD b/extra/vice/PKGBUILD
new file mode 100644
index 000000000..cb6f922c9
--- /dev/null
+++ b/extra/vice/PKGBUILD
@@ -0,0 +1,33 @@
+# $Id: PKGBUILD 111554 2011-02-27 17:55:34Z giovanni $
+# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
+# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
+
+pkgname=vice
+pkgver=2.3
+pkgrel=1
+pkgdesc="A Versatile Commodore Emulator"
+arch=('i686' 'x86_64')
+license=('GPL')
+url="http://www.viceteam.org/"
+depends=('esound' 'gcc-libs' 'giflib' 'lame' 'libxrandr' 'libxv' 'libjpeg>=8' 'libpng>=1.4.0' 'libxaw' 'libxxf86vm')
+makedepends=('xorg-font-utils')
+options=('!makeflags')
+source=(http://downloads.sourceforge.net/project/vice-emu/releases/${pkgname}-${pkgver}.tar.gz
+ vice-2.3-x11video.patch)
+md5sums=('b48d137874daad50c087a0686cbdde34'
+ '088292ce9efe785edfb2b0c7c670785e')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ patch -Np1 -i ${srcdir}/vice-2.3-x11video.patch || return 1
+ ./configure --prefix=/usr \
+ --enable-fullscreen
+ make || return 1
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ make DESTDIR="${pkgdir}" install || return 1
+}