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

Sergej Pupykin spupykin at archlinux.org
Mon Apr 27 10:47:15 UTC 2015


    Date: Monday, April 27, 2015 @ 12:47:15
  Author: spupykin
Revision: 132306

upgpkg: owncloud 8.0.3-1

upd

Modified:
  owncloud/trunk/PKGBUILD

----------+
 PKGBUILD |   15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-04-27 09:03:11 UTC (rev 132305)
+++ PKGBUILD	2015-04-27 10:47:15 UTC (rev 132306)
@@ -4,7 +4,7 @@
 # Based on owncloud-git PKGBUILD by Alexander Ovsyannikov
 
 pkgname=owncloud
-pkgver=8.0.2
+pkgver=8.0.3
 pkgrel=1
 pkgdesc="A cloud server to store your files centrally on a hardware controlled by you"
 arch=('any')
@@ -28,14 +28,14 @@
 options=('!strip')
 backup=('etc/webapps/owncloud/apache.example.conf')
 validpgpkeys=('E3036906AD9F30807351FAC32D5D5E97F6978A26')
-source=("http://download.owncloud.org/community/$pkgname-${pkgver}.tar.bz2"{,.asc}
+#source=("http://download.owncloud.org/community/$pkgname-${pkgver}.tar.bz2"{,.asc}
+source=("$pkgname-$pkgver.tar.gz::https://github.com/owncloud/core/archive/v$pkgver.tar.gz"
 	'apache.example.conf')
-md5sums=('9b10eb45b7923fcb46b89cf0ad149097'
-         'SKIP'
+md5sums=('db1827324136469067191ea31c167da5'
          '64c6edf88bcbb37d063e4bf77b39237f')
 
 prepare() {
-  cd $srcdir/owncloud
+  cd $srcdir/core-$pkgver
   sed -i "s|'appstoreenabled'.*|'appstoreenabled' => false,|" config/config.sample.php
 }
 
@@ -42,11 +42,12 @@
 package() {
   # install license
   install -d ${pkgdir}/usr/share/licenses/${pkgname}
-  cp ${srcdir}/${pkgname}/COPYING-* ${pkgdir}/usr/share/licenses/${pkgname}
+  cp ${srcdir}/core-$pkgver/COPYING-* ${pkgdir}/usr/share/licenses/${pkgname}
 
   # install project
   install -d ${pkgdir}/usr/share/webapps/
-  cp -a ${srcdir}/${pkgname} ${pkgdir}/usr/share/webapps/
+  cp -a ${srcdir}/core-$pkgver ${pkgdir}/usr/share/webapps/${pkgname}
+  rm -rf ${pkgdir}/usr/share/webapps/${pkgname}/tests
 
   # install apache config file
   install -d  ${pkgdir}/etc/webapps/${pkgname}



More information about the arch-commits mailing list