summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorArthur Vuillard2016-09-15 23:23:43 +0200
committerArthur Vuillard2016-09-15 23:23:43 +0200
commit1bedd59b93148eb54783ff85aa28d2e81c157ab0 (patch)
tree1b62e6556291970076cf7084f0f454cad3b0b277 /PKGBUILD
downloadaur-1bedd59b93148eb54783ff85aa28d2e81c157ab0.tar.gz
package for watchghost
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..e80d92258ec
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,28 @@
+# Maintainer: Arthur Vuillard <arthur@hashbang.fr>
+
+name=watchghost
+pkgname=$name-git
+pkgver=0.1.0.git_99.0005a9e
+pkgrel=1
+pkgdesc="Your invisible but loud monitoring pet"
+arch=('any')
+url='https://gitlab.com/localg-host/watchghost/'
+license=('AGPLv3')
+depends=('python-tornado' 'python-aioftp')
+makedepends=('python-setuptools')
+source=('git+https://gitlab.com/localg-host/watchghost.git')
+
+pkgver(){
+ cd $srcdir/$name
+
+ echo 0.1.0.git_$(git rev-list --count HEAD).$(git rev-parse --short HEAD)
+}
+
+package() {
+ cd "$srcdir/$name"
+ python3 setup.py build
+ python3 setup.py install --prefix=/usr --root="${pkgdir}"
+}
+
+sha256sums=('SKIP')
+