summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorCedric Girard2018-11-08 10:35:05 +0100
committerCedric Girard2018-11-08 10:35:05 +0100
commit5bcfe360cddfa1a38808fcea731531d30afba785 (patch)
tree31da093daec9aff1c13418c04cf2a36021b01695
parent64b6600f8b33aa39fce4abf34eaffd933a0bac66 (diff)
downloadaur-5bcfe360cddfa1a38808fcea731531d30afba785.tar.gz
add cache and log folders
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD13
2 files changed, 9 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 2824e04984c0..e1969d4e2056 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = roundcubemail-git
pkgdesc = A PHP web-based mail client
- pkgver = 1.4.beta.r108.g802ed0dc6
+ pkgver = 1.4.beta.r117.g224dd78ad
pkgrel = 1
url = https://roundcube.net/
arch = any
@@ -16,10 +16,8 @@ pkgbase = roundcubemail-git
backup = etc/webapps/roundcubemail/apache.conf
source = git+https://github.com/roundcube/roundcubemail.git
source = apache.conf
- source = roundcubemail.tmpfiles
sha256sums = SKIP
sha256sums = c90981405527ebaf153a407af6b8178b41d078bd4472d63b837b3b4cd5ae36b0
- sha256sums = b0baf067cd6c09938991890ab8c87ba4bad06987781c5accbed86b95e35c2a56
pkgname = roundcubemail-git
diff --git a/PKGBUILD b/PKGBUILD
index 16180365aded..e468653269dc 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
pkgname=roundcubemail-git
-pkgver=1.4.beta.r108.g802ed0dc6
+pkgver=1.4.beta.r117.g224dd78ad
pkgrel=1
pkgdesc="A PHP web-based mail client"
arch=('any')
@@ -16,11 +16,9 @@ conflicts=('roundcubemail')
backup=('etc/webapps/roundcubemail/.htaccess'
'etc/webapps/roundcubemail/apache.conf')
source=("git+https://github.com/roundcube/roundcubemail.git"
- "apache.conf"
- "roundcubemail.tmpfiles")
+ "apache.conf")
sha256sums=('SKIP'
- 'c90981405527ebaf153a407af6b8178b41d078bd4472d63b837b3b4cd5ae36b0'
- 'b0baf067cd6c09938991890ab8c87ba4bad06987781c5accbed86b95e35c2a56')
+ 'c90981405527ebaf153a407af6b8178b41d078bd4472d63b837b3b4cd5ae36b0')
pkgver() {
cd "roundcubemail"
@@ -70,6 +68,11 @@ package() {
ln -s /etc/webapps/roundcubemail/config config
install -Dm0644 "$srcdir"/apache.conf "$pkgdir"/etc/webapps/roundcubemail/apache.conf
+ chown http:http "$pkgdir"/etc/webapps/roundcubemail/config/config.inc.php.sample
+ chmod 0640 "$pkgdir"/etc/webapps/roundcubemail/config/config.inc.php.sample
+
+ install -dm0750 -o http -g http "$pkgdir"/var/cache/roundcubemail
+ install -dm0750 -o http -g http "$pkgdir"/var/log/roundcubemail
rm -rf temp logs
find "$pkgdir" -name .git -exec rm -rf {} \; || true