summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorArthur Vuillard2018-06-20 15:30:38 +0200
committerArthur Vuillard2018-06-20 15:30:38 +0200
commit030dd5de23aff3ca2c47a142d25b20413256327a (patch)
tree0e76ff60bcb44350d4641ba30f4c6d87e837ce75
parent65cec5cf5473efe00b459654a224145dc2c7f689 (diff)
downloadaur-030dd5de23aff3ca2c47a142d25b20413256327a.tar.gz
fix package for 0.1.0
-rw-r--r--.SRCINFO5
-rw-r--r--PKGBUILD8
2 files changed, 7 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 17957160b82..23981117794 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,9 @@
# Generated by mksrcinfo v8
-# Tue May 29 10:12:53 UTC 2018
+# Wed Jun 20 13:30:24 UTC 2018
pkgbase = watchghost
pkgdesc = Your invisible but loud monitoring pet
pkgver = 0.1.0
- pkgrel = 1
+ pkgrel = 2
epoch = 1
url = https://gitlab.com/localg-host/watchghost/
install = watchghost.install
@@ -13,6 +13,7 @@ pkgbase = watchghost
depends = python-tornado
depends = python-aioftp
depends = python-asyncssh
+ depends = python-watchdog
conflicts = watchghost-git
backup = etc/watchghost/watchers
backup = etc/watchghost/loggers
diff --git a/PKGBUILD b/PKGBUILD
index 7f0a72fdcf4..869a162fb46 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,13 +3,13 @@
name=watchghost
pkgname=$name
pkgver=0.1.0
-pkgrel=1
+pkgrel=2
epoch=1
pkgdesc="Your invisible but loud monitoring pet"
arch=('any')
url='https://gitlab.com/localg-host/watchghost/'
license=('AGPLv3')
-depends=('python-tornado' 'python-aioftp' 'python-asyncssh')
+depends=('python-tornado' 'python-aioftp' 'python-asyncssh' 'python-watchdog')
makedepends=('python-setuptools')
source=("https://gitlab.com/localg-host/watchghost/-/archive/${pkgver}/watchghost-${pkgver}.tar.gz")
sha256sums=('3cd3de253a47f0bfc4225bd806156dd1d364aeae983153aca28391b2a8a39214')
@@ -23,14 +23,14 @@ backup=(
)
package() {
- cd "$srcdir/$name"
+ cd "${srcdir}/${name}-${pkgver}"
python3 setup.py build
python3 setup.py install --prefix=/usr --root="${pkgdir}"
install -D $startdir/sysusers.conf $pkgdir/usr/lib/sysusers.d/watchghost.conf
install -D $startdir/watchghost.service $pkgdir/usr/lib/systemd/system/watchghost.service
for filename in groups loggers servers watchers ; do
- install -D $srcdir/watchghost/watchghost/etc/$filename $pkgdir/etc/watchghost/$filename
+ install -D $srcdir/${name}-${pkgver}/watchghost/etc/$filename $pkgdir/etc/watchghost/$filename
done
}