blob: 7036d2cd431e81a2748022302d5bcb426b213fc9 (
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
|
# Maintainer: Sean Teo <sawntoe@gmail.com>
pkgname='redeclipse-dev'
pkgver=v2.0.0.r3251.gdb2e788
pkgrel=1
pkgdesc='Developmental version of Redeclipse, a free and open source movement based shooter'
arch=('x86_64')
url='https://github.com/redeclipse/base.git'
license=("ZLIB" "CCPL:by-sa" "CCPL:by" "custom")
makedepends=(ed sdl2_mixer sdl2_image enet git openal)
depends=(sdl2_image sdl2_mixer enet hicolor-icon-theme openal)
#provides=(redeclipse)
conflicts=(redeclipse)
source=('redeclipse-dev::git+https://github.com/redeclipse/base.git')
md5sums=('SKIP')
pkgver() {
cd "$pkgname"
git describe --long --tags --abbrev=7 | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
prepare() {
cd "$pkgname"
git submodule init
git submodule update
}
build() {
cd "$pkgname"
make -C src/ client server
}
package() {
cd "$pkgname"
make -C src/ DESTDIR="$pkgdir" prefix=/usr system-install
install -Dm 0644 "doc/license.txt" "$pkgdir/usr/share/licenses/$pkgname/license.txt"
install -Dm 0644 "doc/all-licenses.txt" "$pkgdir/usr/share/licenses/$pkgname/all-licenses.txt"
}
|