summaryrefslogtreecommitdiff
path: root/extra/vice/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/vice/PKGBUILD')
-rw-r--r--extra/vice/PKGBUILD15
1 files changed, 11 insertions, 4 deletions
diff --git a/extra/vice/PKGBUILD b/extra/vice/PKGBUILD
index 373864d38..ba9c35398 100644
--- a/extra/vice/PKGBUILD
+++ b/extra/vice/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 170377 2012-11-06 19:33:54Z giovanni $
+# $Id: PKGBUILD 184443 2013-05-06 19:40:02Z foutrelis $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
pkgname=vice
pkgver=2.4
-pkgrel=2
+pkgrel=3
pkgdesc="The Versatile Commodore 8-bit Emulator"
arch=('i686' 'x86_64')
license=('GPL')
@@ -24,7 +24,7 @@ md5sums=('b017647a0c159bbe43cdb81762d1c577'
'877f93db1550ea81386aae7c3b578442'
'9d9f62f05a967a5926df496e86404148')
-build() {
+prepare() {
cd "${srcdir}/${pkgname}-${pkgver}"
patch -Np1 -i "${srcdir}/vice-2.4-x11video.patch"
@@ -32,7 +32,14 @@ build() {
patch -Np1 -i "${srcdir}/vice-2.4-notexi-notxt.patch"
patch -Np1 -i "${srcdir}/vice-2.4-zlib-1.2.7.patch"
- autoreconf
+ sed -i 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/' configure.in
+
+ autoreconf -vi
+}
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
./configure --prefix=/usr \
--enable-ethernet \
--with-alsa \