blob: 88cdc201e2400965a8a99e9f42b270fe1fec21d0 (
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: Pavel Miksha <miksha.rogender@gmail.com>
pkgname=cgaserver-bin
pkgver=4.1.1.0
pkgrel=1
pkgdesc="GNU/Linux dedicated server for Classic Gaming Arena."
arch=("x86_64")
url="https://www.classicgamingarena.com/"
license=("Unlicense")
source=("https://www.classicgamingarena.com/download-cgaserver-linux-64bit-tar"
"https://gist.githubusercontent.com/keyboardcrash32/d4e06e450da65aec5e60e0ecc88f0098/raw/fd84449731543643c0bfd638d49dd89860d7766a/cgaserver.service")
sha512sums=('f7ac44969315223f2fe01fc6ca1548d230a0fedd6c9759cd5571a95420fb742af7940bf56820b616b73f0885db8f523dd9e063fa759366a2de4b8d1c4c024de4' 'fc26a1adcb6f1ee088b095457054b0df3546dd10bf31340730e53b2fd7b85002e2385e76da6ef165c0115d068bb16845ee114414270b70712b69193d6c072e9f')
build()
{
mv download-cgaserver-linux-64bit-tar cgaserver.tar.gz
tar xf cgaserver.tar.gz
}
package()
{
install -D $srcdir/etc/cgaserver/cgaserver_default.conf $pkgdir/etc/cgaserver/cgaserver_default.conf
#install -D $srcdir/etc/init.d/cgaserver $pkgdir/etc/init.d/cgaserver
install -D $srcdir/cgaserver.service $pkgdir/etc/systemd/system/cgaserver.service
install -D $srcdir/usr/lib/libts3server_linux_amd64.so $pkgdir/usr/lib/libts3server_linux_amd64.so
install -D $srcdir/usr/sbin/cga/server/cgaserver $pkgdir/usr/bin/cga/server/cgaserver
install -D $srcdir/usr/share/doc/cgaserver/changes.txt $pkgdir/usr/share/doc/cgaserver/changes.txt
install -D $srcdir/usr/share/doc/cgaserver/license.txt $pkgdir/usr/share/doc/cgaserver/license.txt
rm cgaserver.tar.gz
}
|