summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-04-19 13:43:45 -0300
committerAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-04-19 13:43:45 -0300
commitc8facad29fd242a9e9520ed551b6b86556acc756 (patch)
treefdea213595af7857dda1990148c84388baf88007
parent5df395d77f4c88fa98b6aa680fb601662d16ae3c (diff)
rename csync-owncloud to ocsync
-rw-r--r--pcr/ocsync/PKGBUILD (renamed from pcr/csync-owncloud/PKGBUILD)29
1 files changed, 13 insertions, 16 deletions
diff --git a/pcr/csync-owncloud/PKGBUILD b/pcr/ocsync/PKGBUILD
index daba8c568..34ce2f62c 100644
--- a/pcr/csync-owncloud/PKGBUILD
+++ b/pcr/ocsync/PKGBUILD
@@ -9,26 +9,24 @@
# 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=csync
-pkgname=csync-owncloud
-pkgver=0.50.8
+pkgname=ocsync
+pkgver=0.70.5
pkgrel=1
pkgdesc="A file synchronizer especially designed for you, the normal user."
arch=("i686" "x86_64")
url="http://www.csync.org"
license=('GPL2')
-depends=('log4c' 'sqlite3' 'iniparser' 'neon' 'smbclient' 'libssh')
+depends=('sqlite3' 'iniparser' 'neon' 'smbclient' 'libssh')
makedepends=('cmake')
#optdepends=('samba: smb support' 'libssh: sftp support')
-provides=('csync')
-conflicts=('csync')
-options=(!strip)
-source=("http://download.owncloud.com/download/${_name}-${pkgver}.tar.bz2")
-md5sums=('322f6fa22ca0e8cd05f23dc0d075e7ca')
+provides=('csync' 'csync-owncloud')
+conflicts=('csync' 'csync-owncloud')
+source=("http://download.owncloud.com/download/${pkgname}-${pkgver}.tar.bz2")
+md5sums=('7c8b6f260cc53d29c4355f6837990329')
# Clean options array to strip pkg if release buildtype is chosen
if [[ ${_buildtype} == "Release" ]] || [[ ${_buildtype} == "release" ]]; then
@@ -36,18 +34,17 @@ if [[ ${_buildtype} == "Release" ]] || [[ ${_buildtype} == "release" ]]; then
fi
build() {
- if [[ -e ${srcdir}/${_name}-${pkgver}-build ]]; then rm -rf ${srcdir}/${_name}-${pkgver}-build; fi
- mkdir ${srcdir}/${_name}-${pkgver}-build
- cd ${srcdir}/${_name}-${pkgver}-build
+ if [[ -e ${srcdir}/${pkgname}-${pkgver}-build ]]; then rm -rf ${srcdir}/${pkgname}-${pkgver}-build; fi
+ mkdir ${srcdir}/${pkgname}-${pkgver}-build
+ cd ${srcdir}/${pkgname}-${pkgver}-build
cmake -DCMAKE_BUILD_TYPE=${_buildtype} \
-DCMAKE_INSTALL_PREFIX=/usr \
-DSYSCONF_INSTALL_DIR=/etc \
- -DLOG_TO_CALLBACK=on \
- ../${_name}-${pkgver}
+ ../${pkgname}-${pkgver}
make
}
package() {
- cd ${srcdir}/${_name}-${pkgver}-build
+ cd ${srcdir}/${pkgname}-${pkgver}-build
make DESTDIR=${pkgdir} install
}