blob: 09a05197602b93e6003d4619b64bca231189497b (
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
|
# Maintainer: Yamashiro <dev cosmicheron com>
# Contributors: Frederic Bezies, Ronan Rabouin, carstene1ns <arch carsten-teibes de> - http://git.io/ctPKG
pkgname='yamagi-quake2-ctf'
pkgver='1.12'
pkgrel='1'
arch=('i686' 'x86_64' 'aarch64')
pkgdesc='Quake II - Three Wave Capture The Flag for yamagi-quake2'
url='https://www.yamagi.org/quake2/'
license=('GPL-2.0-only')
depends=('glibc' 'sh' 'yamagi-quake2')
source=(
"https://deponie.yamagi.org/quake2/${pkgname#*-}-$pkgver.tar.xz"
"$pkgname.sh"
"$pkgname.desktop")
b2sums=(
'465eebfebcef6631e03c5235df2c55c340bec0e29a2b423a76b316843c67ec32d812ff1fc26ab3d8672d5859c34e51cdfb8146a40afedf9099669eb727bab283'
'a795e4c5fe15f5de92ad454cb165ead6a385a31451bf856a7191740ee9164f54d32fbd8eedf48c2585e47ed60c79c2caf84a5cb21d50ef3e8c6f0834c5e5e6ac'
'e982a00b16c4982aea0fd566632b5c4e2d0680059025b56a92d844795700b65d77a79c9506dee07a8ab537bee960b3307c29f72b464d72d8a34a9244a04e2d47'
)
build() {
make -C ${pkgname#*-}-$pkgver
}
package() {
cd "${pkgname#*-}-${pkgver}"
# game library
install -Dm644 -t "${pkgdir}/usr/lib/yamagi-quake2/ctf" 'release/game.so'
# game launcher
install -Dm755 "../${pkgname}.sh" "${pkgdir}/usr/bin/${pkgname}"
# doc
install -Dm644 -t "${pkgdir}/usr/share/doc/${pkgname}" 'README.md'
# desktop entry
install -Dm644 -t "${pkgdir}/usr/share/applications" "../${pkgname}.desktop"
}
|