diff options
author | Henningstone | 2018-04-11 19:37:19 +0200 |
---|---|---|
committer | Henningstone | 2018-04-11 19:37:19 +0200 |
commit | 8d7404239a91392d3213daebf92fa691fa33461d (patch) | |
tree | 64a8883b4c65e1e537901aafef93b48a732944ce | |
download | aur-8d7404239a91392d3213daebf92fa691fa33461d.tar.gz |
Initial commit (version 0.36)
-rw-r--r-- | .SRCINFO | 28 | ||||
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | PKGBUILD | 82 | ||||
-rw-r--r-- | allthehaxx | 4 |
4 files changed, 115 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..882ed3da9550 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,28 @@ +pkgbase = allthehaxx + pkgdesc = AllTernative Teeworlds Client + pkgver = 0.36 + pkgrel = 1 + url = https://allthehaxx.github.io + install = allthehaxx + arch = x86_64 + license = custom + makedepends = bam + makedepends = imagemagick + makedepends = gendesk + makedepends = python + depends = alsa-lib + depends = sdl2 + depends = freetype2 + depends = opusfile + depends = curl + depends = wavpack + optdepends = ddnet-skins: more skins for your tee (provided by DDNet) + optdepends = ddnet-maps-git: have all DDNet maps available offline + backup = etc/allthehaxx/storage.cfg + backup = etc/allthehaxx/mapdbs.cfg + backup = etc/allthehaxx/skindbs.cfg + source = https://media.githubusercontent.com/media/AllTheHaxx/stuffility/master/releases/AllTheHaxx-0.36.tar.gz + sha256sums = 707d7d5b5861c918a52c5fc472e20c65dc21bac2f4294fda3945aba43c2494b5 + +pkgname = allthehaxx + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..72e8ffc0db8a --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +* diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..743aa03bc824 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,82 @@ +# Maintainer: Henninger Henningstone <henritees at mein-twserver dot de> + +pkgname=allthehaxx +pkgver=0.36 +pkgrel=1 +pkgdesc="AllTernative Teeworlds Client" +arch=('x86_64') +url="https://allthehaxx.github.io" +license=('custom') +depends=('alsa-lib' 'sdl2' 'freetype2' 'opusfile' 'curl' 'wavpack') +makedepends=('bam' 'imagemagick' 'gendesk' 'python') +optdepends=('ddnet-skins: more skins for your tee (provided by DDNet)' + 'ddnet-maps-git: have all DDNet maps available offline') +#provides=() +#conflicts=() +backup=('etc/allthehaxx/storage.cfg' + 'etc/allthehaxx/mapdbs.cfg' + 'etc/allthehaxx/skindbs.cfg') +#options=('!strip' 'debug') # uncomment this if you want to gdb AllTheHaxx +install=allthehaxx +source=("https://media.githubusercontent.com/media/AllTheHaxx/stuffility/master/releases/AllTheHaxx-$pkgver.tar.gz") +sha256sums=('707d7d5b5861c918a52c5fc472e20c65dc21bac2f4294fda3945aba43c2494b5') + + +prepare() { + # Client + convert "AllTheHaxx-$pkgver/other/icons/AllTheHaxx.ico" AllTheHaxx.png +} + +build() { + cd "AllTheHaxx-$pkgver/" + bam config installation_root="/" + bam client_release + bam tools_release +} + +package() { + cd "AllTheHaxx-$pkgver/" + # Install AllTheHaxx client binaries + install -d -m755 "$pkgdir/usr/bin/" + install -m755 AllTheHaxx "$pkgdir/usr/bin/" + + # Install extra tools + install -d -m755 "$pkgdir/usr/share/allthehaxx/tools" + install -m755 colorcode "$pkgdir/usr/share/allthehaxx/tools/" + install -m755 config_retrieve "$pkgdir/usr/share/allthehaxx/tools/" + install -m755 config_store "$pkgdir/usr/share/allthehaxx/tools/" + install -m755 confusables "$pkgdir/usr/share/allthehaxx/tools/" + install -m755 crapnet "$pkgdir/usr/share/allthehaxx/tools/" + install -m755 dilate "$pkgdir/usr/share/allthehaxx/tools/" + install -m755 dummy_map "$pkgdir/usr/share/allthehaxx/tools/" + install -m755 fake_server "$pkgdir/usr/share/allthehaxx/tools/" + install -m755 map_resave "$pkgdir/usr/share/allthehaxx/tools/" + install -m755 map_version "$pkgdir/usr/share/allthehaxx/tools/" + install -m755 packetgen "$pkgdir/usr/share/allthehaxx/tools/" + install -m755 slc_unpack "$pkgdir/usr/share/allthehaxx/tools/" + install -m755 tileset_borderadd "$pkgdir/usr/share/allthehaxx/tools/" + install -m755 tileset_borderfix "$pkgdir/usr/share/allthehaxx/tools/" + install -m755 tileset_borderrem "$pkgdir/usr/share/allthehaxx/tools/" + install -m755 tileset_borderset "$pkgdir/usr/share/allthehaxx/tools/" + install -m755 uuid "$pkgdir/usr/share/allthehaxx/tools/" + + # Install data files + install -d -m755 "$pkgdir/usr/share/allthehaxx/data/" + cp -r data/* "$pkgdir/usr/share/allthehaxx/data/" + rm -rf "$pkgdir/usr/share/allthehaxx/data/languages/scripts/" + + # Install editable text configuration files + install -d -m755 "$pkgdir/etc/allthehaxx/" + install -m755 data/edtc/storage.cfg "$pkgdir/etc/allthehaxx/" + install -m755 data/edtc/skindbs.cfg "$pkgdir/etc/allthehaxx/" + install -m755 data/edtc/mapdbs.cfg "$pkgdir/etc/allthehaxx/" + + # Install desktop and license files + install -Dm644 other/AllTheHaxx.desktop "$pkgdir/usr/share/applications/allthehaxx.desktop" + install -Dm644 license.txt "$pkgdir/usr/share/licenses/$pkgname/license.txt" + + cd .. + + # Install icon files + install -Dm644 AllTheHaxx-4.png "$pkgdir/usr/share/pixmaps/AllTheHaxx.png" +} diff --git a/allthehaxx b/allthehaxx new file mode 100644 index 000000000000..20f8fc708210 --- /dev/null +++ b/allthehaxx @@ -0,0 +1,4 @@ +post_remove() { + echo "NOTE: This programm will have created a local storage in your home directory after" + echo " running. To clean it up completely, remove '~/.allthehaxx'; everything is in there." +} |