PKGBUILDs/extra/vice/PKGBUILD
2009-10-09 21:23:22 -05:00

28 lines
945 B
Bash

# $Id: PKGBUILD 44530 2009-07-02 16:38:26Z giovanni $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
pkgname=vice
pkgver=2.1
pkgrel=3
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' 'libpng' 'libxaw' 'libxxf86vm')
makedepends=('xorg-font-utils')
options=('!makeflags')
source=(http://www.zimmers.net/anonftp/pub/cbm/crossplatform/emulators/VICE/$pkgname-$pkgver.tar.gz
vice-2.1-gcc44.patch)
md5sums=('a4cca1aad12e12ac7f37d6c85310ade8'
'579590831e1403f566e4bfc44bcd9f5e')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
patch -Np0 -i ${srcdir}/vice-2.1-gcc44.patch || return 1
./configure --prefix=/usr \
--enable-fullscreen
make || return 1
make DESTDIR=${pkgdir} install
rm -rf ${pkgdir}/usr/share/info/dir
}