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

Eli Schwartz eschwartz at archlinux.org
Mon Jan 8 05:52:54 UTC 2018


    Date: Monday, January 8, 2018 @ 05:52:45
  Author: eschwartz
Revision: 280346

upgpkg: roundcubemail 1.3.3-2

Add PGP signatures.
Migrate to tmpfiles.

Added:
  roundcubemail/trunk/roundcubemail.tmpfiles
Modified:
  roundcubemail/trunk/PKGBUILD
Deleted:
  roundcubemail/trunk/roundcubemail.install

------------------------+
 PKGBUILD               |   20 ++++++++++----------
 roundcubemail.install  |    7 -------
 roundcubemail.tmpfiles |    2 ++
 3 files changed, 12 insertions(+), 17 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-01-08 05:51:33 UTC (rev 280345)
+++ PKGBUILD	2018-01-08 05:52:45 UTC (rev 280346)
@@ -3,22 +3,24 @@
 
 pkgname=roundcubemail
 pkgver=1.3.3
-pkgrel=1
+pkgrel=2
 pkgdesc="A PHP web-based mail client"
 arch=('any')
-url="http://www.roundcube.net"
+url="https://roundcube.net/"
 license=('GPL')
 depends=('php' 'php-gd')
 makedepends=('php-composer' 'git')
 optdepends=('python2')
 backup=('etc/webapps/roundcubemail/.htaccess'
-	'etc/webapps/roundcubemail/apache.conf')
-install=roundcubemail.install
-options=('!strip' 'emptydirs')
-source=("https://github.com/roundcube/roundcubemail/releases/download/$pkgver/roundcubemail-$pkgver-complete.tar.gz"
-	apache.conf)
+        'etc/webapps/roundcubemail/apache.conf')
+source=("https://github.com/roundcube/roundcubemail/releases/download/$pkgver/roundcubemail-$pkgver-complete.tar.gz"{,.asc}
+        "apache.conf"
+        "roundcubemail.tmpfiles")
 sha256sums=('05d9856c966c0d93accabf724e7ff2fd493bba1a57c44247ed0a2aacd617c879'
-            'c90981405527ebaf153a407af6b8178b41d078bd4472d63b837b3b4cd5ae36b0')
+            'SKIP'
+            'c90981405527ebaf153a407af6b8178b41d078bd4472d63b837b3b4cd5ae36b0'
+            'b0baf067cd6c09938991890ab8c87ba4bad06987781c5accbed86b95e35c2a56')
+validpgpkeys=('F3E4C04BB3DB5D4215C45F7F5AB2BAA141C4F7D5') # Roundcube Developers <devs at roundcube.net>
 
 prepare() {
   cd "$srcdir"/roundcubemail-${pkgver/rc/-rc}
@@ -34,7 +36,6 @@
 package() {
   mkdir -p "$pkgdir"/etc/webapps/roundcubemail
   mkdir -p "$pkgdir"/usr/share/webapps
-  mkdir -p "$pkgdir"/var/log
   cd "$pkgdir"/usr/share/webapps
   cp -ra "$srcdir"/roundcubemail-${pkgver/rc/-rc} roundcubemail
   cd roundcubemail
@@ -45,7 +46,6 @@
   mv config "$pkgdir"/etc/webapps/roundcubemail/
   ln -s /etc/webapps/roundcubemail/config config
 
-  install -dm0750 "$pkgdir"/var/{log,cache}/roundcubemail
   install -Dm0644 "$srcdir"/apache.conf "$pkgdir"/etc/webapps/roundcubemail/apache.conf
 
   rm -rf temp logs

Deleted: roundcubemail.install
===================================================================
--- roundcubemail.install	2018-01-08 05:51:33 UTC (rev 280345)
+++ roundcubemail.install	2018-01-08 05:52:45 UTC (rev 280346)
@@ -1,7 +0,0 @@
-post_install() {
-  chown -R http:http var/{log,cache}/roundcubemail
-}
-
-post_upgrade() {
-  post_install
-}

Added: roundcubemail.tmpfiles
===================================================================
--- roundcubemail.tmpfiles	                        (rev 0)
+++ roundcubemail.tmpfiles	2018-01-08 05:52:45 UTC (rev 280346)
@@ -0,0 +1,2 @@
+d /var/cache/roundcubemail 0750 http http - -
+d /var/log/roundcubemail 0750 http http - -



More information about the arch-commits mailing list