updated on Wed Jan 11 00:07:16 UTC 2012
[aur-mirror.git] / lugaru / PKGBUILD
blob28d7af63ebb48a2736bff12db4515d498af9583e
1 # Contributor: Slash <demodevil5 [at] yahoo [dot] com>
3 pkgname=lugaru
4 pkgver=1.0c
5 pkgrel=1
6 pkgdesc="Lugaru is a third-persion action game featuring a unique close-range combat system"
7 url="http://www.wolfire.com/lugaru"
8 license=('custom')
9 arch=('i686')
10 depends=('gcc-libs' 'openal' 'sdl')
11 source=('lugaru.launcher' 'lugaru.desktop' \
12 "http://cdn.wolfire.com/games/lugaru/lugaru-linux-x86-${pkgver}.bin")
13 md5sums=('840f647ec903fc2676a2e7e6432b7ce0'
14          '68b7e5c6119d0e7a194f646332b8271a'
15          '3ae780aea1bee2c6a39adeb20cc7cb33')
17 build() {
18     cd $srcdir
20     # Create Destination Directory
21     install -d $pkgdir/opt/lugaru
23     # Extract Game Data
24     unzip -o $srcdir/lugaru-linux-x86-${pkgver}.bin
26     # Install Game Data
27     cp -r $srcdir/data/* $pkgdir/opt/lugaru
29     # Install Launcher
30     install -D -m 755 $srcdir/lugaru.launcher \
31         $pkgdir/usr/bin/lugaru
33     # Install Desktop File
34     install -D -m 644 $srcdir/lugaru.desktop \
35         $pkgdir/usr/share/applications/lugaru.desktop
37     # Install Icon File
38     install -D -m 644 $srcdir/data/lugaru.png \
39         $pkgdir/usr/share/pixmaps/lugaru.png