summaryrefslogtreecommitdiff
path: root/extra/vice/PKGBUILD
blob: e7ff01c5e27e51f9cefc2dfb52ab0c35534bc6e2 (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
# $Id: PKGBUILD 143992 2011-12-01 15:40:19Z giovanni $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>

pkgname=vice
pkgver=2.3
pkgrel=4
pkgdesc="A Versatile Commodore Emulator"
arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
url="http://www.viceteam.org/"
depends=('alsa-lib' 'gcc-libs' 'giflib' 'lame' 'libxrandr' 
         'libxv' 'libjpeg' 'libpng' '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
  ./configure --prefix=/usr \
              --with-alsa \
              --enable-fullscreen
  make
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"

  make DESTDIR="${pkgdir}" install
}