diff options
author | Sean Greenslade | 2020-05-13 00:11:07 -0700 |
---|---|---|
committer | Sean Greenslade | 2020-05-13 00:11:07 -0700 |
commit | 037ee6dea849c01d007da8ffa0e57455ab83e9f0 (patch) | |
tree | 3c49fae74a80b6bcdee87dcb62dda2b1468d0611 | |
parent | f5a1d18b1df4ac64314b0862d768e5fdbd3be0b8 (diff) | |
download | aur-037ee6dea849c01d007da8ffa0e57455ab83e9f0.tar.gz |
Better way of creating var, now should have correct perms.
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | 99-weave-var.conf | 2 | ||||
-rw-r--r-- | PKGBUILD | 4 |
3 files changed, 5 insertions, 3 deletions
@@ -1,7 +1,7 @@ pkgbase = weave-minimal-git pkgdesc = minimal weave 1.1 server for Pale Moon sync pkgver = 1.5.r8.g503072a - pkgrel = 3 + pkgrel = 4 url = https://github.com/zootboy/weave-minimal install = weave-minimal.install arch = i686 diff --git a/99-weave-var.conf b/99-weave-var.conf new file mode 100644 index 000000000000..2d738dbdd582 --- /dev/null +++ b/99-weave-var.conf @@ -0,0 +1,2 @@ +# Create weave:weave data dir. +v /var/lib/weave/data 755 weave weave - - @@ -3,7 +3,7 @@ _pkgname=weave-minimal pkgname=$_pkgname-git pkgver=1.5.r8.g503072a -pkgrel=3 +pkgrel=4 pkgdesc="minimal weave 1.1 server for Pale Moon sync" arch=('i686' 'x86_64' 'armv7h') url="https://github.com/zootboy/weave-minimal" @@ -37,7 +37,7 @@ package() { install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$_pkgname/LICENSE" install -Dm644 $srcdir/$_pkgname/examples/weave-minimal.conf "$pkgdir/etc/weave-minimal.conf" install -Dm644 $srcdir/$_pkgname/examples/weave-minimal.service "$pkgdir/usr/lib/systemd/system/weave-minimal.service" - mkdir -p "$pkgdir/var/lib/weave/data" + install -Dm644 "$srcdir/99-weave-var.conf" "$pkgdir/usr/lib/tmpfiles.d/99-weave-var.conf" python setup.py install --root="$pkgdir" } |