[arch-commits] Commit in roundcubemail/trunk (PKGBUILD)

Eli Schwartz eschwartz at archlinux.org
Wed May 16 17:39:27 UTC 2018


    Date: Wednesday, May 16, 2018 @ 17:39:26
  Author: eschwartz
Revision: 323041

Fix tmpfiles usage

Whoops. It helps to actually install the file.

Modified:
  roundcubemail/trunk/PKGBUILD

----------+
 PKGBUILD |    7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-05-16 17:39:15 UTC (rev 323040)
+++ PKGBUILD	2018-05-16 17:39:26 UTC (rev 323041)
@@ -3,7 +3,7 @@
 
 pkgname=roundcubemail
 pkgver=1.3.6
-pkgrel=1
+pkgrel=2
 pkgdesc="A PHP web-based mail client"
 arch=('any')
 url="https://roundcube.net/"
@@ -15,9 +15,11 @@
         'etc/webapps/roundcubemail/apache.conf')
 validpgpkeys=('F3E4C04BB3DB5D4215C45F7F5AB2BAA141C4F7D5')
 source=("https://github.com/roundcube/roundcubemail/releases/download/$pkgver/roundcubemail-$pkgver-complete.tar.gz"{,.asc}
+        "roundcubemail.tmpfiles"
         "apache.conf")
 sha256sums=('f1b86e97cc8fd69bb1957d4115762af6ea2d6957ea17b33dd3ec2995662670d9'
             'SKIP'
+            '91f1b0125422304b38d14431faf64f4fafc209d78c8af8bf871b339c15a15765'
             'c90981405527ebaf153a407af6b8178b41d078bd4472d63b837b3b4cd5ae36b0')
 
 prepare() {
@@ -43,8 +45,7 @@
   ln -s /etc/webapps/roundcubemail/config config
 
   install -Dm0644 "$srcdir"/apache.conf "$pkgdir"/etc/webapps/roundcubemail/apache.conf
-  install -dm0750 -o http -g http "$pkgdir"/var/cache/roundcubemail
-  install -dm0750 -o http -g http "$pkgdir"/var/log/roundcubemail
+  install -Dm0644 "$srcdir"/roundcubemail.tmpfiles "$pkgdir"/usr/lib/tmpfiles.d/roundcubemail.conf
   chown http:http "$pkgdir"/etc/webapps/roundcubemail/config/config.inc.php.sample
   chmod 0640 "$pkgdir"/etc/webapps/roundcubemail/config/config.inc.php.sample
 



More information about the arch-commits mailing list