updated on Mon Jan 16 20:00:43 UTC 2012
[aur-mirror.git] / yamagi-quake2-rogue / PKGBUILD
bloba756f303f64b60184929a9490b2fc77e634b1fd7
1 # Contributor: Frederic Bezies <fredbezies@gmail.com>
2 # Maintainer: Ronan Rabouin <darkbaboon@gmail.com>
4 pkgname=yamagi-quake2-rogue
5 _pkgname=rogue
6 pkgver=1.05
7 pkgrel=1
8 pkgdesc="Quake 2 engine focused on single player and 64bits - Mission Pack 2"
9 url="http://www.yamagi.org/quake2/"
10 license=('GPL')
11 depends=('libjpeg' 'sdl' 'libxxf86vm' 'libxxf86dga' 'yamagi-quake2')
12 makedepends=('unzip')
13 conflicts=(quetoo quake2)
14 install="quake2.install"
15 arch=('i686' 'x86_64')
16 source=(http://deponie.yamagi.org/quake2/quake2-$_pkgname-$pkgver.tar.xz $_pkgname.sh)
17 md5sums=('4efde0c4bfcaffdfb069418baf3e2597'
18          '89dd62bd3b5e4e5a13667dd0d4f8a00c')
20 build() {
21     cd $srcdir/$_pkgname-$pkgver
23     make || return 1
25     # Create Destination Directories
26     install -d $pkgdir/usr/{bin,share/quake2/$_pkgname}
28     # Install Game Base
29     cd $srcdir/$_pkgname-$pkgver/release
30     cp -R * $pkgdir/usr/share/quake2/$_pkgname
32     # Install Game Launcher
33     install -D -m 755 $_pkgname.sh  $pkgdir/usr/bin/quake2-ground-zero