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