From c8facad29fd242a9e9520ed551b6b86556acc756 Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Fri, 19 Apr 2013 13:43:45 -0300 Subject: rename csync-owncloud to ocsync --- pcr/csync-owncloud/PKGBUILD | 53 --------------------------------------------- pcr/ocsync/PKGBUILD | 50 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 50 insertions(+), 53 deletions(-) delete mode 100644 pcr/csync-owncloud/PKGBUILD create mode 100644 pcr/ocsync/PKGBUILD diff --git a/pcr/csync-owncloud/PKGBUILD b/pcr/csync-owncloud/PKGBUILD deleted file mode 100644 index daba8c568..000000000 --- a/pcr/csync-owncloud/PKGBUILD +++ /dev/null @@ -1,53 +0,0 @@ -# Maintainer: Kuba Serafinowski -# https://github.com/zizzfizzix/pkgbuilds - -############################################################## -#### The section below can be adjusted to suit your needs #### -############################################################## - -# What type of build do you want? -# 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" - -############################################################## - -_name=csync -pkgname=csync-owncloud -pkgver=0.50.8 -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') -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') - -# Clean options array to strip pkg if release buildtype is chosen -if [[ ${_buildtype} == "Release" ]] || [[ ${_buildtype} == "release" ]]; then - options=() -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 - - cmake -DCMAKE_BUILD_TYPE=${_buildtype} \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DSYSCONF_INSTALL_DIR=/etc \ - -DLOG_TO_CALLBACK=on \ - ../${_name}-${pkgver} - make -} -package() { - cd ${srcdir}/${_name}-${pkgver}-build - make DESTDIR=${pkgdir} install -} diff --git a/pcr/ocsync/PKGBUILD b/pcr/ocsync/PKGBUILD new file mode 100644 index 000000000..34ce2f62c --- /dev/null +++ b/pcr/ocsync/PKGBUILD @@ -0,0 +1,50 @@ +# Maintainer: Kuba Serafinowski +# https://github.com/zizzfizzix/pkgbuilds + +############################################################## +#### The section below can be adjusted to suit your needs #### +############################################################## + +# What type of build do you want? +# See http://techbase.kde.org/Development/CMake/Addons_for_KDE#Buildtypes to check what is supported. +# Default is RelWithDebInfo to help with debugging. + +_buildtype="Release" + +############################################################## + +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=('sqlite3' 'iniparser' 'neon' 'smbclient' 'libssh') +makedepends=('cmake') +#optdepends=('samba: smb support' 'libssh: sftp support') +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 + options=() +fi + +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 \ + ../${pkgname}-${pkgver} + make +} +package() { + cd ${srcdir}/${pkgname}-${pkgver}-build + make DESTDIR=${pkgdir} install +} -- cgit v1.2.3-54-g00ecf