summaryrefslogtreecommitdiff
path: root/pcr
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-04-20 01:29:42 -0700
committerroot <root@rshg054.dnsready.net>2013-04-20 01:29:42 -0700
commit1f9776d421ac40faa59f797893033e99e4f919eb (patch)
treefd7420e8e8d3b090730fcc01a8ff25d13ad09442 /pcr
parent1fedf1f5d5351aefd88268cba7353c79adac9b8a (diff)
Sat Apr 20 01:28:56 PDT 2013
Diffstat (limited to 'pcr')
-rw-r--r--pcr/ocsync/PKGBUILD (renamed from pcr/csync-owncloud/PKGBUILD)29
-rw-r--r--pcr/owncloud-client/PKGBUILD21
-rw-r--r--pcr/owncloud-client/owncloud-client.install2
-rw-r--r--pcr/owncloud/PKGBUILD13
-rw-r--r--pcr/owncloud/owncloud.install9
5 files changed, 36 insertions, 38 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
}
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() {
diff --git a/pcr/owncloud/PKGBUILD b/pcr/owncloud/PKGBUILD
index 7861d0917..18e33afe2 100644
--- a/pcr/owncloud/PKGBUILD
+++ b/pcr/owncloud/PKGBUILD
@@ -1,20 +1,21 @@
-# Contributor: Antonio Rojas <nqn1976 @ gmail.com>
+# Maintainer: Antonio Rojas <nqn1976 @ gmail.com>
# Based on owncloud-git PKGBUILD by Alexander Ovsyannikov
-# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres <aurelien@cwb.io>
pkgname=owncloud
-pkgver=4.5.2
+pkgver=5.0.4
pkgrel=1
pkgdesc="A cloud server to store your files centrally on a hardware controlled by you"
arch=('any')
url="http://owncloud.org/"
license=('GPL')
-depends=('php-gd')
-optdepends=("php-apache: to use the Apache web server" "php-sqlite: to use the SQLite database backend" "mysql: to use the MySQL database backend")
+depends=('php-gd' 'php-intl')
+optdepends=("php-apache: to use the Apache web server" "php-sqlite: to use the SQLite database backend" "mariadb: to use the MySQL database backend" "smbclient: to mount SAMBA shares")
makedepends=()
-source=("http://owncloud.org/releases/$pkgname-$pkgver.tar.bz2" 'owncloud.conf')
+source=("http://download.owncloud.org/community/$pkgname-$pkgver.tar.bz2" 'owncloud.conf')
backup=('etc/httpd/conf/extra/owncloud.conf')
install=owncloud.install
+md5sums=('311c299b4aff4987a4b4c39aedafa9c0'
+ 'c1d49a3c0d8433bed6bffcd21ebb0064')
package() {
# install license
diff --git a/pcr/owncloud/owncloud.install b/pcr/owncloud/owncloud.install
index 327733f97..cde521d4b 100644
--- a/pcr/owncloud/owncloud.install
+++ b/pcr/owncloud/owncloud.install
@@ -6,12 +6,7 @@ post_install() {
echo "LoadModule php5_module modules/libphp5.so"
echo "Include conf/extra/php5_module.conf"
echo
- echo "Uncomment extensions xmlrpc.so zip.so gd.so"
- echo "and either pdo_sqlite.so sqlite3.so (for the SQLite backend) or mysql.so mysqli.so pdo_mysql.so (for the MySQL backend)"
+ echo "Uncomment extensions gd.so intl.so iconv.so openssl.so xmlrpc.so zip.so"
+ echo "and either pdo_sqlite.so sqlite3.so (for the SQLite backend) or mysqli.so pdo_mysql.so (for the MySQL backend)"
echo "in /etc/php/php.ini"
}
-
-post_upgrade() {
- echo "owncloud is now installed in /usr/share/webapps/owncloud"
- echo "if you want it in /srv/http, add a symlink manually"
-} \ No newline at end of file