summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 8bc78a6828ef875c7d6fc2f4cf4097e19b6debf7 (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
# Contributor: grimi <grimi at poczta dot fm>

pkgname=vice-gtkglext
_pkgname=vice
pkgver=3.1
pkgrel=1
pkgdesc="A Versatile Commodore Emulator , with enabled gtkglext"
arch=('i686' 'x86_64')
license=('GPL')
url="http://vice-emu.sourceforge.net"
depends=('alsa-lib' 'gtkglext' 'giflib' 'libjpeg-turbo' 'libpng' 'libxrandr' 'vte' 'lame' 'libpcap' 'libnet')
makedepends=('pkg-config')
provides=("vice=$pkgver")
conflicts=('vice' 'vice-gtk' 'vice-sdl' 'vice-ethernet')
replaces=('vice')
install=${pkgname}.install
source=(http://downloads.sourceforge.net/project/vice-emu/releases/${_pkgname}-${pkgver}.tar.gz no-fc-cache.patch)
sha256sums=('3eb8159633816095006dec36c5c3edd055a87fd8bda193a1194a6801685d1240'
            '36e88f32137c96b14283b94a15c5d85425086312165d1392bde2cab7c14f45cc')


prepare() {
  cd ${_pkgname}-${pkgver}
  patch -Np0 -i ../no-fc-cache.patch
}


build() {
  cd ${_pkgname}-${pkgver}
  ./configure --prefix=/usr --libdir=/usr/lib --enable-gnomeui \
    --enable-ethernet --disable-parsid
  make
}


package() {
  cd ${_pkgname}-${pkgver}
  make DESTDIR="${pkgdir}" VICEDIR=/usr/lib/vice install
}


# vim:set ts=2 sw=2 et: