diff options
author | Rafael Fontenelle | 2021-03-26 02:23:04 -0300 |
---|---|---|
committer | Rafael Fontenelle | 2021-03-26 02:23:04 -0300 |
commit | 42f601f6e05411a3610bd4cbea27aed622d5ad12 (patch) | |
tree | c3fe5aea81cbfcf66cfe36a87f1f5eb4f75578d1 | |
parent | 2a8c002fe8e40bb26732f8237b704cfb80b81191 (diff) | |
download | aur-42f601f6e05411a3610bd4cbea27aed622d5ad12.tar.gz |
Fix conflict with ddnet-maps-git
-rw-r--r-- | .SRCINFO | 3 | ||||
-rw-r--r-- | PKGBUILD | 6 |
2 files changed, 7 insertions, 2 deletions
@@ -1,7 +1,7 @@ pkgbase = ddnet pkgdesc = A Teeworlds modification with a unique cooperative gameplay. pkgver = 15.4 - pkgrel = 1 + pkgrel = 2 url = https://ddnet.tw arch = x86_64 license = custom:BSD @@ -23,6 +23,7 @@ pkgbase = ddnet depends = sqlite optdepends = ddnet-skins: A collection with more than 500 custom tee skins. optdepends = ddnet-maps-git: All the maps used on the official DDNet Servers. + backup = usr/share/ddnet/data/autoexec_server.cfg source = https://ddnet.tw/downloads/DDNet-15.4.tar.xz source = ddnet-server.service source = ddnet-sysusers.conf @@ -3,7 +3,7 @@ pkgname=ddnet pkgver=15.4 -pkgrel=1 +pkgrel=2 pkgdesc="A Teeworlds modification with a unique cooperative gameplay." arch=('x86_64') url="https://ddnet.tw" @@ -13,6 +13,7 @@ makedepends=('cmake' 'ninja' 'python') checkdepends=('gmock') optdepends=('ddnet-skins: A collection with more than 500 custom tee skins.' 'ddnet-maps-git: All the maps used on the official DDNet Servers.') +backup=('usr/share/ddnet/data/autoexec_server.cfg') source=("https://ddnet.tw/downloads/DDNet-$pkgver.tar.xz" "ddnet-server.service" "ddnet-sysusers.conf" "ddnet-tmpfiles.conf") sha256sums=('2b8a43e4b75a0fcd43ad8e469349e66c294bb7182d2ec6fe96a4e76c1630e87c' @@ -54,4 +55,7 @@ package() { install -vDm644 ddnet-server.service "$pkgdir/usr/lib/systemd/system/ddnet-server.service" install -vDm644 "$srcdir/ddnet-sysusers.conf" "$pkgdir/usr/lib/sysusers.d/ddnet.conf" install -vDm644 "$srcdir/ddnet-tmpfiles.conf" "$pkgdir/usr/lib/tmpfiles.d/ddnet.conf" + sed -i "$pkgdir/usr/share/ddnet/data/autoexec_server.cfg" \ + -e '/sv_test_cmds/s/1/0/' \ + -e 's/myServerconfig.cfg/autoexec_server_maps.cfg/' } |