summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorHellogain2020-06-06 00:13:55 +0200
committerHellogain2020-06-06 00:14:22 +0200
commit5abdbf16c599a72a51853f0811db681f8ac9e9bd (patch)
treeaca1df5ec5ab7c15fd0107abeeed05186134ad82
parentab25ae5f8094913af814413dd6b97cbc85f8fc3e (diff)
downloadaur-5abdbf16c599a72a51853f0811db681f8ac9e9bd.tar.gz
bump to 2.1.0.e-2
fixing some permission problems (preliminary, it is not optimal)
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD10
2 files changed, 10 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index f29023806e3c..5f11fd7b156a 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = fakturama
pkgdesc = Creates invoices with ZUGFeRD support
pkgver = 2.1.0.e
- pkgrel = 1
+ pkgrel = 2
url = https://www.fakturama.info
arch = x86_64
license = EPL
diff --git a/PKGBUILD b/PKGBUILD
index f3cf4099ae24..5d2773e40e5c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=fakturama
pkgver=2.1.0.e
-pkgrel=1
+pkgrel=2
pkgdesc="Creates invoices with ZUGFeRD support"
arch=('x86_64')
url="https://www.fakturama.info"
@@ -52,6 +52,7 @@ package() {
# Create entry under _main_application
install -m 755 -d "$_main_application"
+ chmod u+w,g+w,o+w -R "$_main_application"
# Copy all needed files
cp -r "$srcdir/artifacts.xml" "$_main_application"
@@ -62,6 +63,13 @@ package() {
cp -r "$srcdir/p2" "$_main_application"
cp -r "$srcdir/plugins" "$_main_application"
+ # special folder that needs special permissions
+ chmod u+w,g+w,o+w -R "$_main_application/configuration"
+ chmod u+w,g+w,o+w -R "$_main_application/features"
+ chmod u+w,g+w,o+w -R "$_main_application/plugins"
+ chmod u+w,g+w,o+w -R "$_main_application/p2"
+
+
# Copy other files
install -Dm 644 "$srcdir/icon.xpm" "$pkgdir/usr/share/pixmaps/fakturama2.xpm"
install -Dm 644 "$srcdir/fakturama2.desktop" "$pkgdir/usr/share/applications/fakturama2.desktop"