blob: b2a1167a1848eead70af1c8a8afdad014b04d059 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
# $Id: PKGBUILD 164816 2012-08-06 17:52:50Z giovanni $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
pkgname=vice
pkgver=2.3
pkgrel=6
pkgdesc="The Versatile Commodore 8-bit Emulator"
arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
url="http://www.viceteam.org/"
depends=('alsa-lib' 'giflib' 'libxxf86vm' 'gtk2')
makedepends=('xorg-font-utils')
options=('!makeflags')
install=vice.install
source=("http://downloads.sourceforge.net/project/vice-emu/releases/${pkgname}-${pkgver}.tar.gz"
'vice-2.3-x11video.patch'
'vice-2.3-no-fc-cache.patch'
'vice-2.3-notexi-notxt.patch'
'vice-2.3-zlib-1.2.7.patch')
md5sums=('b48d137874daad50c087a0686cbdde34'
'088292ce9efe785edfb2b0c7c670785e'
'873042d07f3768819b589a4c8fe24607'
'05159b6ef78e3b7dd5d362f766da4cd4'
'6d8736974a21c3862a4bf0fe0ee6e266')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
patch -Np1 -i "${srcdir}/vice-2.3-x11video.patch"
patch -Np1 -i "${srcdir}/vice-2.3-no-fc-cache.patch"
patch -Np1 -i "${srcdir}/vice-2.3-notexi-notxt.patch"
patch -Np1 -i "${srcdir}/vice-2.3-zlib-1.2.7.patch"
autoreconf
./configure --prefix=/usr \
--with-alsa \
--enable-fullscreen \
--enable-gnomeui
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" realdocdir="/usr/share/doc/vice" install
ln -s /usr/share/doc/vice "${pkgdir}/usr/lib/vice/doc"
}
|