blob: f008e609d5de0f2622361efc05d6fec3d59a681c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# Maintainer: carstene1ns <arch carsten-teibes de> - http://git.io/ctPKG
# Contributor: rabyte <rabyte__gmail>
pkgname=alephone-eternalx
pkgver=1.2.1
pkgrel=2
pkgdesc="A free scenario for Aleph One that continues the story of the Marathon trilogy"
arch=('any')
url="http://eternal.bungie.org/"
license=('unknown')
depends=('alephone')
install=eternalx.install
source=("http://eternal.bungie.org/files/_releases/EternalXv${pkgver//./}.zip"
"$pkgname.sh"
"$pkgname.desktop")
sha256sums=('f2c99574bec261bac8cc2aaeddeaa4e8a41e9a928b5ae109f6a592b5d5a4616a'
'367eac6d3652cb0aaa2d66c74770190d0e8eccfb8e46acf7fc991d652bfc70d0'
'57dfa56c798a325f4a673d608c71dd5dda73c06270229b6bdf2379a06b9a1df0')
prepare() {
# remove Mac OS metadata
find "Eternal $pkgver" -name .DS_Store -delete
}
package() {
# scenario data
install -d "$pkgdir"/usr/share/AlephOne/scenarios
cp -r "Eternal $pkgver" "$pkgdir"/usr/share/AlephOne/scenarios/eternalx
# sane permissions
chmod 755 "$pkgdir"/usr/share/AlephOne/scenarios/eternalx
find "$pkgdir"/usr/share/AlephOne/scenarios/eternalx -type f -exec chmod 644 {} \;
# launcher script and .desktop file
install -Dm755 $pkgname.sh "$pkgdir"/usr/bin/$pkgname
install -Dm644 $pkgname.desktop "$pkgdir"/usr/share/applications/$pkgname.desktop
}
|