summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authordadosch2020-12-18 22:28:20 +0100
committerdadosch2020-12-18 22:28:20 +0100
commitb4dc6cf0a458a699dedea32ebe889834f180dc39 (patch)
treef200f9112614076aaead2004ffcaa394898a2233
parent3b57e251bd9f322f768511282c56049f22401047 (diff)
downloadaur-b4dc6cf0a458a699dedea32ebe889834f180dc39.tar.gz
use fixed user id for buildability in chroot envs
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD6
2 files changed, 4 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index ebc46409191..18dde05a1c8 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = grocy
pkgdesc = web-based self-hosted groceries & household management solution for your home
pkgver = 2.7.1
- pkgrel = 2
+ pkgrel = 3
url = https://grocy.info/
arch = any
license = MIT
diff --git a/PKGBUILD b/PKGBUILD
index 8ca67dc13da..1213d972629 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=grocy
pkgver=2.7.1
-pkgrel=2
+pkgrel=3
pkgdesc="web-based self-hosted groceries & household management solution for your home"
depends=('php' 'php-sqlite' 'php-gd')
license=('MIT')
@@ -25,9 +25,9 @@ package() {
cp -ra "$srcdir"/. "$_instdir"/
- cp "$srcdir"/config-dist.php "$pkgdir"/etc/webapps/grocy/config.php
+ cp "$srcdir"/config-dist.php "$pkgdir"/etc/webapps/grocy/config.php
ln -s /etc/webapps/grocy/config.php "$pkgdir"/usr/share/webapps/grocy/data/config.php
- chown http "$pkgdir"/usr/share/webapps/grocy/data -R
+ chown 33 "$pkgdir"/usr/share/webapps/grocy/data -R
}