diff options
author | HerbertKnapp | 2018-11-17 21:55:36 +0100 |
---|---|---|
committer | HerbertKnapp | 2018-11-17 21:55:36 +0100 |
commit | 85ca6348bbd4298fb857ecff059307d6a6692efa (patch) | |
tree | 7520727cf10bac59a953d41858b0934623e15334 | |
download | aur-85ca6348bbd4298fb857ecff059307d6a6692efa.tar.gz |
initial commit
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | PKGBUILD | 35 | ||||
-rw-r--r-- | true-combat-elite-0.49b-linux.tar.xz.torrent | bin | 0 -> 3768 bytes |
3 files changed, 50 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..dfc689516b3a --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = true-combat-elite-bin + pkgdesc = Tactical 3D multiplayer 1st person shooter in the style of Counter Strike, Urban Terror based on Enemy Territory id3 engine. + pkgver = 0.49b + pkgrel = 1 + url = http://www.truecombatelite.com/ + arch = i686 + arch = x86_64 + license = unknown + makedepends = aria2 + options = !strip + source = true-combat-elite-0.49b-linux.tar.xz.torrent + sha256sums = c539a709eae02ba9f967461fc3382f09dfc4fa8311903a725e73b0c99687a930 + +pkgname = true-combat-elite-bin + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..7796a065843d --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,35 @@ +# Maintainer: Herbert Knapp <herbert.knapp vivaldi.net> +pkgname="true-combat-elite-bin" +pkgver=0.49b +pkgrel=1 +pkgdesc="Tactical 3D multiplayer 1st person shooter in the style of Counter Strike, Urban Terror based on Enemy Territory id3 engine." +arch=('i686' 'x86_64') +url="http://www.truecombatelite.com/" +license=('unknown') +makedepends=('aria2') +options=(!strip) +source=('true-combat-elite-0.49b-linux.tar.xz.torrent') +sha256sums=('c539a709eae02ba9f967461fc3382f09dfc4fa8311903a725e73b0c99687a930') +prepare() { + echo 'Downloading true-combat-elite-0.49b-linux.tar.xz via Bittorrent. Be patient.' + aria2c --check-certificate=false --console-log-level=error --download-result=hide --auto-save-interval=0 --summary-interval=0 --seed-time=0 --bt-enable-lpd=true --bt-tracker=udp://tracker.coppersurfer.tk:6969,udp://ipv4.tracker.harry.lu,udp://9.rarbg.to:2710,udp://tracker.internetwarriors.net:1337 true-combat-elite-0.49b-linux.tar.xz.torrent + tar xvf true-combat-elite-0.49b-linux.tar.xz +} +package() { + mkdir -p "${pkgdir}/usr/bin" "${pkgdir}/usr/share/applications" "${pkgdir}/usr/share/games" + mv "${srcdir}/true-combat-elite/true-combat-elite" "${srcdir}/true-combat-elite/true-combat-elite-server" "${pkgdir}/usr/bin/" + mv "${srcdir}/true-combat-elite" "${pkgdir}/usr/share/games/" + + _desktop="${pkgdir}/usr/share/applications/true-combat-elite.desktop" + echo '[Desktop Entry]' > ${_desktop} + echo 'Type=Application' >> ${_desktop} + echo "Name=True Combat Elite ${pkgver/\.*/}" >> ${_desktop} + echo "Comment=${pkgdesc}" >> ${_desktop} + echo 'Exec=true-combat-elite' >> ${_desktop} + echo "Icon=/usr/share/games/true-combat-elite/icon.png" >> ${_desktop} + echo 'Terminal=false' >> ${_desktop} + echo 'Categories=Games;ActionGame;' >> ${_desktop} +} +post_install() { + echo 'First time users: start true-combat-elite three times to get native display resolution.' +}
\ No newline at end of file diff --git a/true-combat-elite-0.49b-linux.tar.xz.torrent b/true-combat-elite-0.49b-linux.tar.xz.torrent Binary files differnew file mode 100644 index 000000000000..f55dc0df00be --- /dev/null +++ b/true-combat-elite-0.49b-linux.tar.xz.torrent |