updated on Wed Jan 25 08:34:36 UTC 2012
[aur-mirror.git] / rescue-max / PKGBUILD
blobed09065a1c9957b8b82baeb7fd40feb556551f34
1 # Maintainer: archtux <antonio.arias99999@gmail.com>
3 pkgname=rescue-max
4 pkgver=1.0.0.2
5 pkgrel=1
6 pkgdesc="Remake of an old Mac game called Rescue! by Tom Spreen."
7 arch=('i686' 'x86_64')
8 url="http://rescue.sourceforge.net/"
9 license=('GPL2')
10 depends=('java-runtime>=4')
11 install=('rescue-max.install')
12 source=(http://prdownloads.sourceforge.net/rescue/Rescue_$pkgver.zip)
13 md5sums=('ecd611fb8afe6e40def18980432409b0')
16 build() {
17   cd $srcdir/Rescue
19   # Desktop icon
20   install -Dm644 missions/so/sobig/thesovereign.gif  $pkgdir/usr/share/pixmaps/rescue-max.gif
21   install -Dm644 $startdir/rescue-max.desktop  $pkgdir/usr/share/applications/rescue-max.desktop
23   # Install program
24   mkdir -p $pkgdir/opt/$pkgname
25   cp -R help/ missions/  $pkgdir/opt/$pkgname
26   install -Dm755 Rescue.jar $pkgdir/opt/$pkgname/Rescue.jar
27   cd $startdir
28   cp rescue-max $pkgdir/opt/rescue-max/rescue-max
29   DESTDIR=$pkgdir