blob: e2ed6cb33f7c1ade20761d2efefbcfb97d2844c2 (
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
|
# Maintainer: heinrich5991 <heinrich5991@gmail.com>
pkgname=s25rttr-nightly-bin
pkgver=20210113
pkgrel=1
pkgdesc="Settlers II remake (Needs a copy of the original game!)"
arch=('x86_64')
url="http://www.siedler25.org/"
license=('GPL3')
depends=(sdl sdl_mixer)
install=s25rttr-nightly-bin.install
source=("https://www.siedler25.org/uploads/nightly/s25rttr_20210113-c0f232ac37d9472832273e13e2705ef811bef97b-linux.x86_64.tar.bz2"
"rttr"
"s25rttr-nightly-bin.install")
sha256sums=('535e55ed682312ca74e4acad701f037fe747d69f6e3bcdf61ce6a5b895dfe0f6'
'985b0e88823e3b7d525cedfb602bb249217dc0e5271223b2a810ef37c1908fdb'
'774aaaafc556ccd3334ee0129267382117ec5e178095377a4676cbcf00845489')
build() {
cd "$srcdir"/s25rttr_"$pkgver"
rm lib/libminiupnpc.so.*
}
package() {
cd "$srcdir"/s25rttr_"$pkgver"
install -d "$pkgdir"/usr
cp -r lib/ share/ "$pkgdir"/usr/
install -d "$pkgdir"/usr/bin
install -d "$pkgdir"/usr/lib/s25rttr
install -m755 bin/s25client "$pkgdir"/usr/lib/s25rttr/
install -m755 ../rttr "$pkgdir"/usr/bin/
}
# vim:set ts=2 sw=2 et:
|