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

Sergej Pupykin spupykin at archlinux.org
Thu Jun 21 16:54:44 UTC 2018


    Date: Thursday, June 21, 2018 @ 16:54:44
  Author: spupykin
Revision: 344320

upgpkg: roundcubemail 1.3.6-3

Modified:
  roundcubemail/trunk/PKGBUILD

----------+
 PKGBUILD |    9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-06-21 16:54:38 UTC (rev 344319)
+++ PKGBUILD	2018-06-21 16:54:44 UTC (rev 344320)
@@ -3,12 +3,13 @@
 
 pkgname=roundcubemail
 pkgver=1.3.6
-pkgrel=2
+pkgrel=3
 pkgdesc="A PHP web-based mail client"
 arch=('any')
 url="https://roundcube.net/"
 license=('GPL')
 depends=('php' 'php-gd')
+options=('emptydirs')
 makedepends=('php-composer' 'git')
 optdepends=('python2')
 backup=('etc/webapps/roundcubemail/.htaccess'
@@ -15,11 +16,9 @@
         '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() {
@@ -45,9 +44,11 @@
   ln -s /etc/webapps/roundcubemail/config config
 
   install -Dm0644 "$srcdir"/apache.conf "$pkgdir"/etc/webapps/roundcubemail/apache.conf
-  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
 
+  install -dm0750 -o http -g http "$pkgdir"/var/cache/roundcubemail
+  install -dm0750 -o http -g http "$pkgdir"/var/log/roundcubemail
+
   rm -rf temp logs
 }



More information about the arch-commits mailing list