summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorAndrey Bobkov2018-07-03 16:22:46 +0000
committerAndrey Bobkov2018-07-03 16:23:23 +0000
commitf8bff98f49d443cbfbf435a983c8ec583768178f (patch)
treed629fd99f40ee2578465414a6f9721f224b8884e /PKGBUILD
downloadaur-wapkg.tar.gz
0.4.1
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..b0417190027
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,28 @@
+# Maintainer: Andrey Bobkov <medvedx64 at gmail dot com>
+
+pkgname=wapkg
+pkgver=0.4.1
+pkgrel=1
+pkgdesc="Worms Armageddon package manager & download utility"
+arch=('any')
+url="https://github.com/MEDVEDx64/wapkg"
+license=('Apache')
+depends=('python')
+optdepends=('wine: required by launcher functionality to work')
+source=("$url/archive/$pkgver.tar.gz")
+sha256sums=('c3bbe58950ea4d27a0de415feb057d3b08afae60bbecff0b143de6fda95a299d')
+
+package() {
+ cd "$pkgname-$pkgver"
+ py_dst=usr/lib/wapkg
+ mkdir -p $pkgdir/$py_dst
+
+ cp *.py $pkgdir/$py_dst/
+ cp -r wapkg $pkgdir/$py_dst/
+
+ mkdir -p $pkgdir/usr/bin
+ cd $pkgdir/usr/bin
+ ln -s /$py_dst/wapt.py wapt
+ ln -s /$py_dst/warun.py warun
+ ln -s /$py_dst/wqdaemon.py wqdaemon
+}