summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pcr/owncloud-client/PKGBUILD21
-rw-r--r--pcr/owncloud-client/owncloud-client.install2
2 files changed, 14 insertions, 9 deletions
diff --git a/pcr/owncloud-client/PKGBUILD b/pcr/owncloud-client/PKGBUILD
index 7e8dfa59a..69905f40a 100644
--- a/pcr/owncloud-client/PKGBUILD
+++ b/pcr/owncloud-client/PKGBUILD
@@ -9,28 +9,27 @@
# See http://techbase.kde.org/Development/CMake/Addons_for_KDE#Buildtypes to check what is supported.
# Default is RelWithDebInfo to help with debugging.
-_buildtype="RelWithDebInfo"
+_buildtype="Release"
##############################################################
_name=mirall
pkgname=owncloud-client
-pkgver=1.0.5
-pkgrel=2
+pkgver=1.2.3
+pkgrel=1
pkgdesc="ownCloud client based on mirall"
arch=('i686' 'x86_64')
url="http://owncloud.org/"
license=('GPL2')
-depends=('qt' 'csync-owncloud')
+depends=('qt4' 'ocsync')
makedepends=('cmake')
provides=('mirall' 'owncloud-client')
conflicts=('mirall-git')
-options=(!strip)
install=owncloud-client.install
-backup=('etc/exclude.lst')
+backup=('etc/owncloud-client/sync-exclude.lst')
source=("http://download.owncloud.com/download/${_name}-${pkgver}.tar.bz2"
"${pkgname}.desktop")
-md5sums=('b7a96411f092bb16f88e3868a558032f'
+md5sums=('a3aa2cb1b9ccb13c7e8b0ef8a1b539df'
'e223d162626c2ff54efebaa90a182d81')
# Clean options array to strip pkg if release buildtype is chosen
@@ -43,7 +42,13 @@ build() {
mkdir ${srcdir}/${_name}-${pkgver}-build
cd ${srcdir}/${_name}-${pkgver}-build
- cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=/usr/lib -DCMAKE_BUILD_TYPE=${_buildtype} ../${_name}-${pkgver}
+ cmake -DQT_QMAKE_EXECUTABLE=qmake-qt4 \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=/usr/lib \
+ -DCMAKE_BUILD_TYPE=${_buildtype} \
+ -DCSYNC_INCLUDE_PATH=/usr/include/ocsync \
+ -DCMAKE_INSTALL_SYSCONFDIR=/etc/${pkgname} \
+ ../${_name}-${pkgver}
make
}
diff --git a/pcr/owncloud-client/owncloud-client.install b/pcr/owncloud-client/owncloud-client.install
index 1c0de2e4f..e216754c7 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 &> /dev/null
+ xdg-icon-resource forceupdate --theme hicolor
}
post_upgrade() {