summaryrefslogtreecommitdiff
path: root/pcr/owncloud-client
diff options
context:
space:
mode:
authoraurelien <aurelien@cwb.io>2013-09-23 10:33:22 +0200
committeraurelien <aurelien@cwb.io>2013-09-23 10:33:22 +0200
commit2735c9d273c54b555681f30f5c685998fed7b484 (patch)
treef8172dbea44d1c4751a99a62fb236a14c9d2dc20 /pcr/owncloud-client
parentd78a32a6ccb8663a62a093b54e947e2efc840fe0 (diff)
parent97f65e06566f3bb15bc7395624017b8e6ca0d043 (diff)
downloadabslibre-2735c9d273c54b555681f30f5c685998fed7b484.tar.gz
abslibre-2735c9d273c54b555681f30f5c685998fed7b484.tar.bz2
abslibre-2735c9d273c54b555681f30f5c685998fed7b484.zip
Merge branch 'master' of ssh://parabolagnulinux.org:1863/srv/git/abslibre
Diffstat (limited to 'pcr/owncloud-client')
-rw-r--r--pcr/owncloud-client/PKGBUILD28
-rw-r--r--pcr/owncloud-client/owncloud-client.install2
2 files changed, 16 insertions, 14 deletions
diff --git a/pcr/owncloud-client/PKGBUILD b/pcr/owncloud-client/PKGBUILD
index 69905f40a..ea808c1ef 100644
--- a/pcr/owncloud-client/PKGBUILD
+++ b/pcr/owncloud-client/PKGBUILD
@@ -1,6 +1,7 @@
# Maintainer: Kuba Serafinowski <zizzfizzix(at)gmail(dot)com>
# https://github.com/zizzfizzix/pkgbuilds
-
+# Maintainer: Jorge Araya Navarro <shackra@riseup.net>
+#
##############################################################
#### The section below can be adjusted to suit your needs ####
##############################################################
@@ -15,31 +16,33 @@ _buildtype="Release"
_name=mirall
pkgname=owncloud-client
-pkgver=1.2.3
+pkgver=1.4.0
pkgrel=1
pkgdesc="ownCloud client based on mirall"
arch=('i686' 'x86_64')
url="http://owncloud.org/"
license=('GPL2')
-depends=('qt4' 'ocsync')
+depends=('qt4' 'ocsync' 'qtkeychain' 'qtwebkit')
makedepends=('cmake')
+optdepends=('qtkeychain: safe password storage')
provides=('mirall' 'owncloud-client')
conflicts=('mirall-git')
install=owncloud-client.install
backup=('etc/owncloud-client/sync-exclude.lst')
-source=("http://download.owncloud.com/download/${_name}-${pkgver}.tar.bz2"
- "${pkgname}.desktop")
-md5sums=('a3aa2cb1b9ccb13c7e8b0ef8a1b539df'
- 'e223d162626c2ff54efebaa90a182d81')
-
-# Clean options array to strip pkg if release buildtype is chosen
-if [[ ${_buildtype} == "Release" ]] || [[ ${_buildtype} == "release" ]]; then
- options=()
+source=("http://download.owncloud.com/download/${_name}-${pkgver}.tar.bz2")
+md5sums=('05a69082b4e940b4282c2b05344c143a')
+
+
+if [[ ! ${_buildtype} == "Release" ]] && [[ ! ${_buildtype} == "release" ]]; then
+ options=(!strip)
fi
-build() {
+prepare() {
if [[ -e ${srcdir}/${_name}-${pkgver}-build ]]; then rm -rf ${srcdir}/${_name}-${pkgver}-build; fi
mkdir ${srcdir}/${_name}-${pkgver}-build
+}
+
+build() {
cd ${srcdir}/${_name}-${pkgver}-build
cmake -DQT_QMAKE_EXECUTABLE=qmake-qt4 \
@@ -55,5 +58,4 @@ build() {
package() {
cd ${srcdir}/${_name}-${pkgver}-build
make DESTDIR=${pkgdir} install
- install -Dm644 ${srcdir}/${pkgname}.desktop ${pkgdir}/usr/share/applications/${pkgname}.desktop
}
diff --git a/pcr/owncloud-client/owncloud-client.install b/pcr/owncloud-client/owncloud-client.install
index e216754c7..eecc35ccd 100644
--- a/pcr/owncloud-client/owncloud-client.install
+++ b/pcr/owncloud-client/owncloud-client.install
@@ -1,5 +1,5 @@
post_install() {
- xdg-icon-resource forceupdate --theme hicolor
+ xdg-icon-resource forceupdate --theme hicolor > /dev/null
}
post_upgrade() {