updated on Thu Jan 12 08:01:00 UTC 2012
[aur-mirror.git] / shoresofhazeron / PKGBUILD
blobf0968d6ae90248b8aaa22e53a577fd2aeaf1ec65
1 # Contributor: Jookia <166291@gmail.com>
2 # Maintainer: Dgellow <georgesleyetidoux@gmail.com>
3 pkgname=shoresofhazeron
4 pkgver=20110916
5 pkgrel=1
6 pkgdesc="Shores of Hazeron is an ambitious and revolutionary game of science fiction adventure, intrigue, and war."
7 arch=(i686 x86_64)
8 url="http://www.hazeron.com/"
9 install="shoresofhazeron.install"
10 license=(custom)
11 depends=(freealut libpng12)
13 source=(http://www.hazeron.com/software/ShoresOfHazeron32ub8.tar.gz
14         shoresofhazeron
15         shoresofhazeron.desktop
16         hazeronmail
17         hazeronmail.desktop)
18 md5sums=('6efe3bd09e0ea0978690c6a3622a2c5d'
19         'be4b4f16c7d9515f80a26a2bf9f62e90'
20         'fb51711f4deae98cc97d6931cf5da3bd'
21         '9d7c0c53e16360d3627b2b390f433f32'
22         '597960f68fd3909aad132c446369438e')
24 if [[ $CARCH == 'x86_64' ]]; then
25         source=(http://www.hazeron.com/software/ShoresOfHazeron64ub10.tar.gz
26                 shoresofhazeron
27                 shoresofhazeron.desktop
28                 hazeronmail
29                 hazeronmail.desktop)
30         md5sums=('28e50dc3e9c3a4f561e99945c022980e'
31                 'be4b4f16c7d9515f80a26a2bf9f62e90'
32                 'fb51711f4deae98cc97d6931cf5da3bd'
33                 '9d7c0c53e16360d3627b2b390f433f32'
34                 '597960f68fd3909aad132c446369438e')
37 build()
39         install -d $pkgdir/opt/ShoresOfHazeron
40         cp -r $srcdir/ShoresOfHazeron $pkgdir/opt
41         
42         install -Dm644 $srcdir/shoresofhazeron.desktop $pkgdir/usr/share/applications/shoresofhazeron.desktop
43         install -Dm755 $srcdir/shoresofhazeron $pkgdir/usr/bin/shoresofhazeron
44         install -Dm644 $srcdir/hazeronmail.desktop $pkgdir/usr/share/applications/hazeronmail.desktop
45         install -Dm755 $srcdir/hazeronmail $pkgdir/usr/bin/hazeronmail
46         
47         chown -R :games $pkgdir/opt/ShoresOfHazeron
48         chmod -R g+rwX $pkgdir/opt/ShoresOfHazeron