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

Sergej Pupykin spupykin at archlinux.org
Mon Mar 2 18:23:49 UTC 2015


    Date: Monday, March 2, 2015 @ 19:23:49
  Author: spupykin
Revision: 128567

upgpkg: owncloud 8.0.0-2

upd

Modified:
  owncloud/trunk/PKGBUILD

----------+
 PKGBUILD |   10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-03-02 18:20:13 UTC (rev 128566)
+++ PKGBUILD	2015-03-02 18:23:49 UTC (rev 128567)
@@ -5,7 +5,7 @@
 
 pkgname=owncloud
 pkgver=8.0.0
-pkgrel=1
+pkgrel=2
 pkgdesc="A cloud server to store your files centrally on a hardware controlled by you"
 arch=('any')
 url="http://owncloud.org/"
@@ -34,6 +34,11 @@
          'SKIP'
          '64c6edf88bcbb37d063e4bf77b39237f')
 
+prepare() {
+  cd $srcdir/owncloud
+  sed -i "s|'appstoreenabled'.*|'appstoreenabled' => false,|" config/config.sample.php
+}
+
 package() {
   # install license
   install -d ${pkgdir}/usr/share/licenses/${pkgname}
@@ -51,4 +56,7 @@
   mv ${pkgdir}/usr/share/webapps/owncloud/config ${pkgdir}/etc/webapps/${pkgname}/config
   chown -R http:http ${pkgdir}/etc/webapps/${pkgname}/config
   ln -s /etc/webapps/${pkgname}/config ${pkgdir}/usr/share/webapps/owncloud/config
+
+  find ${pkgdir} -type f -print0 | xargs -0 chmod 0640
+  find ${pkgdir} -type d -print0 | xargs -0 chmod 0750
 }



More information about the arch-commits mailing list