blob: 3e5154130299b9e512437754e7e8d8c26fbfee19 (
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
38
39
40
41
42
|
# Maintainer: carstene1ns <arch carsten-teibes de> - http://git.io/ctPKG
# Contributors: Frederic Bezies, Ronan Rabouin
pkgname=yamagi-quake2-rogue
pkgver=2.03
pkgrel=1
arch=('i686' 'x86_64')
pkgdesc="Quake II - Mission Pack 2 ('Ground Zero') for yamagi-quake2"
url="http://www.yamagi.org/quake2/"
license=('GPL' 'custom')
depends=('sh' 'yamagi-quake2')
install=$pkgname.install
changelog=$pkgname.ChangeLog
source=("http://deponie.yamagi.org/quake2/${pkgname#*-}-$pkgver.tar.xz"
"$pkgname.sh"
"$pkgname.desktop")
sha256sums=('e7a045469d2034791e95be47cafd248693531e26a26171af4e22adecabd7a6b8'
'7d43bd0ca15a6c82560153deea1df1109d0a448b226e316b6b7b5daae256241a'
'e7ee884b1e015743659cf668afa521976de64345872acf8e4c1e6932355c2959')
build() {
make -C ${pkgname#*-}-$pkgver
}
package() {
cd ${pkgname#*-}-$pkgver
# game launcher
install -Dm755 ../$pkgname.sh "$pkgdir"/usr/bin/$pkgname
# game library
install -Dm644 release/game.so "$pkgdir"/usr/share/yamagi-quake2/rogue/game.so
# doc
install -Dm644 README "$pkgdir"/usr/share/doc/$pkgname/README
# desktop entry
install -Dm644 ../$pkgname.desktop "$pkgdir"/usr/share/applications/$pkgname.desktop
# license
install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}
|