aboutsummaryrefslogtreecommitdiffstats
path: root/main/owncloud/APKBUILD
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@alpinelinux.org>2015-02-09 13:53:43 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2015-02-09 13:54:40 +0000
commit739ba0a8dac2de0b7a114297c9bcff6642baaa8c (patch)
tree54439f7535a42167da22e24203468602446050ce /main/owncloud/APKBUILD
parent4fb3ba5866dc07e3e4ba1d4e529f1179e795454a (diff)
downloadaports-739ba0a8dac2de0b7a114297c9bcff6642baaa8c.tar.bz2
aports-739ba0a8dac2de0b7a114297c9bcff6642baaa8c.tar.xz
main/owncloud: upgrade to 8.0.0
Diffstat (limited to 'main/owncloud/APKBUILD')
-rw-r--r--main/owncloud/APKBUILD112
1 files changed, 93 insertions, 19 deletions
diff --git a/main/owncloud/APKBUILD b/main/owncloud/APKBUILD
index e20978dfff..b98ab0509d 100644
--- a/main/owncloud/APKBUILD
+++ b/main/owncloud/APKBUILD
@@ -1,6 +1,6 @@
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname="owncloud"
-pkgver="7.0.4"
+pkgver="8.0.0"
pkgrel=0
pkgdesc="Your own WebDAV-based cloud service"
url="http://owncloud.org"
@@ -11,11 +11,18 @@ depends="php php-ctype php-dom php-gd php-iconv php-json php-xml php-zlib
depends_dev=
makedepends="$depends_dev"
install=
-subpackages="$pkgname-pgsql $pkgname-sqlite $pkgname-mysql $pkgname-documents
- $pkgname-external $pkgname-ldap $pkgname-search $pkgname-texteditor
- $pkgname-videoviewer"
+subpackages="$pkgname-pgsql $pkgname-sqlite $pkgname-mysql $pkgname-encryption
+ $pkgname-calendar $pkgname-contacts $pkgname-documents $pkgname-external
+ $pkgname-mozilla_sync $pkgname-ldap $pkgname-tasks
+ $pkgname-texteditor $pkgname-pdfviewer $pkgname-videoviewer"
replaces="$pkgname-plugins"
source="http://download.owncloud.org/community/$pkgname-$pkgver.tar.bz2
+ https://apps.owncloud.com/CONTENT/content-files/168708-contacts.zip
+ https://apps.owncloud.com/CONTENT/content-files/168707-calendar.zip
+ https://apps.owncloud.com/CONTENT/content-files/168711-documents.zip
+ https://apps.owncloud.com/CONTENT/content-files/161793-mozilla_sync-1.4.zip
+ https://github.com/Fmstrat/ownnote/archive/ownNote-0.0.2.tar.gz
+ https://apps.owncloud.com/CONTENT/content-files/166058-tasks.zip
owncloud.config.php
owncloud-6-always-return-true-isSetLocaleWorking.patch
"
@@ -29,6 +36,7 @@ _ocwwwdir="/usr/share/webapps/owncloud"
_ocappsdir="$_ocwwwdir/apps"
_occonfdir="/etc/owncloud"
+
prepare() {
cd "$_builddir"
for i in $source; do
@@ -91,57 +99,123 @@ plugins() {
_mv_app() {
mkdir -p "$subpkgdir"${_ocappsdir} || return 1
- mv "$pkgdir"${_ocappsdir}/$1 "$subpkgdir"${_ocappsdir}
+ if [ "$1" = "pkg" ]; then
+ mv "$pkgdir"${_ocappsdir}/$2 "$subpkgdir"${_ocappsdir}
+ elif [ "$1" = "src" ]; then
+ mv "$srcdir"/$2 "$subpkgdir"${_ocappsdir}
+ fi
+}
+
+contacts() {
+ arch="noarch"
+ pkgdesc="ownCloud contacts"
+ depends="owncloud"
+ _mv_app src contacts
+}
+
+calendar() {
+ arch="noarch"
+ pkgdesc="ownCloud calendar"
+ depends="owncloud"
+ _mv_app src calendar
}
documents() {
arch="noarch"
pkgdesc="ownCloud integrated documents editor"
depends="owncloud"
- _mv_app documents
+ _mv_app src documents
+}
+
+encryption() {
+ arch="noarch"
+ pkgdesc="ownCloud integrated encryption support"
+ depends="owncloud php-openssl"
+ _mv_app pkg files_encryption
}
external() {
arch="noarch"
pkgdesc="ownCloud integrated external storage support"
depends="owncloud php-ftp"
- _mv_app files_external
+ _mv_app pkg files_external
}
ldap() {
arch="noarch"
pkgdesc="ownCloud integrated LDAP authentication"
depends="owncloud php-ldap"
- _mv_app user_ldap
+ _mv_app pkg user_ldap
+}
+
+mozilla_sync() {
+ arch="noarch"
+ pkgdesc="ownCloud Mozilla sync app"
+ depends="owncloud"
+ subpkgver="1.4"
+ _mv_app src mozilla_sync
+}
+
+#ownnote() {
+# arch="noarch"
+# pkgdesc="ownCloud notes app"
+# depends="owncloud"
+# subpkgver="0.0.2"
+# _mv_app src ownnote-ownNote-$subpkgver
+#}
+
+pdfviewer() {
+ arch="noarch"
+ pkgdesc="ownCloud integrated PDF viewer"
+ depends="owncloud"
+ _mv_app pkg files_pdfviewer
}
-search() {
+tasks() {
arch="noarch"
- pkgdesc="ownCloud integrated search engine"
+ pkgdesc="ownCloud tasks"
depends="owncloud"
- _mv_app search_lucene
+ _mv_app src tasks
}
texteditor() {
arch="noarch"
pkgdesc="ownCloud integrated text editor"
depends="owncloud"
- _mv_app files_texteditor
+ _mv_app pkg files_texteditor
}
videoviewer() {
arch="noarch"
pkgdesc="ownCloud integrated video viewer"
depends="owncloud"
- _mv_app files_videoviewer
+ _mv_app pkg files_videoviewer
}
-md5sums="6d4a3f9275d1f2b2607e7e6484051d4c owncloud-7.0.4.tar.bz2
-30477c6a00189272dc7e2f16322f749c owncloud.config.php
+md5sums="d2c1366be0756c24e1f5cfc02f80269f owncloud-8.0.0.tar.bz2
+d706ff102f7d8e097c0c6f9335b4676e 168708-contacts.zip
+2e50e7cf83d2c10943caa83119b4d94e 168707-calendar.zip
+166f86208cc71a07c9d73e184890cd97 168711-documents.zip
+1ce06aac149edfbe0825d251088258b7 161793-mozilla_sync-1.4.zip
+b97b0c0c13d0c351f196944e3e5a6706 ownNote-0.0.2.tar.gz
+2aee5990ee55476ff6e74b72ee15ae88 166058-tasks.zip
+5374a893d97f4cf456760f0a88a9d673 owncloud.config.php
f497dbf3a67d14fc9049ca680673c805 owncloud-6-always-return-true-isSetLocaleWorking.patch"
-sha256sums="7179f8d775c57a73e7a246bf51a5adb3259065ab2e08ab09e301e6d97dc34f36 owncloud-7.0.4.tar.bz2
-bf6277eb9bd416eb8c2b7de6836541e8fd4e455b644c98643036bb5c57c06a73 owncloud.config.php
+sha256sums="0c62cb06fe4c3eb107bccc4302f2bb3b9f7e5373cf7c9dd307fea8e823e6342f owncloud-8.0.0.tar.bz2
+8a77d0fb436bd70898c70eca4f98672ecd6759a4b25bb44ffdc95f9b04d41e3d 168708-contacts.zip
+5edb9f9258aac1eedf5509d334290c34dc3a493b9176edce516ddd6113bc9301 168707-calendar.zip
+8c476f36b5c108e071beef613112583d43a4ed9f3afee2f71d77a6dee86a25d5 168711-documents.zip
+fb2e40cd79cd94afa3d0d5841e741d08b25802133856a2e41114b863c1fbb07a 161793-mozilla_sync-1.4.zip
+9f00554a91cd80bcc19f75f4fb5d45cb2638e767b69b233fe40b6d27d3eaebed ownNote-0.0.2.tar.gz
+02a6103de7a1fa7169c8c715ab8be67fb8a597eb6bb0bf3ca27c0cecba208043 166058-tasks.zip
+06bebe03164b98a69a1b138cc99d1227d50db7a2b4f1e5830631e0db58b2542b owncloud.config.php
3466ffbd22d4a9f04f4df862f3fb2f695fd1ca4bc6fb4b6a56258958064d5762 owncloud-6-always-return-true-isSetLocaleWorking.patch"
-sha512sums="7d11ae717e1cc4c0a68b1bb89ef9c11a539c9dfc362832249a3b4034964700fa0dc62e2f415db637bb5952ea836a49514ef573ae225f86ac1ac8c937a3e1d4eb owncloud-7.0.4.tar.bz2
-bb25fa74068d6d21c0f00044e0a58518e3699fc76c6d42ed068cc4d8e6acf97e8057aade0574f41ef0d3cbf46e4357ee1934fe1a0fbc777f9aa7ce94bb238e7d owncloud.config.php
+sha512sums="bc92f4341cb4b6b2f7b5f9218d8bb7f4321008d6f2391f237ea07303ffafef5aebc94317c690daea2f81d408b0278198c84cfbfc40192158ef5f08b482efa5a3 owncloud-8.0.0.tar.bz2
+31018156a0601c3937c20effe3acbefc6d861fbb40df1d89d6e445f1a5d15dd062b497c139c5d4bad218dc0c418b981c8609c158d0acc0cc8892b0629514714e 168708-contacts.zip
+57ffac92d88cba91cb6e999f31f5c0b58cd1cd874a3eb639fe0317a5c11a63d595e533e0c3914095a41e2f60965d8abb70de75f43fed9cff160db3c3d6a400d8 168707-calendar.zip
+37319ed46f84f8cb6dba7ae0812dd73084f087fa974b4ae2839ec9035b822df744ee1f432c04deb6e8eb1767027cc7af63001e312241aa7877a6ba8a912be731 168711-documents.zip
+c86c6b1302d7ef82e1038b3987eebfb4cfd31d226e76cad75a79e3679405c58095a1fca254156e0688993e916165960aad066188b13ed9a2f4c4312916b54d9f 161793-mozilla_sync-1.4.zip
+483eeb6d0e2e6438310e3d4142f8f2419958f6670b50f767b9345d135cc3d222d9e19a83372b46dced093508c9f0086e436a39b2ab10d454c0fae8a136dfd3a6 ownNote-0.0.2.tar.gz
+2fbc5be1a635126543f5ff9de128681f18b856f4d561b7e0c2f6b1ca9e0e7d58825fbc656051257fb6b0ff9851510bed395bd3b83c183309f98f3af64ab18993 166058-tasks.zip
+3e82a1dea53a33f84ab6986b18e5750a4fdef9bbc0c6e78788e9234f61374f6b135f3bcdd3ad14705f68f5779fce6d992632067023a648c5d7d5a247412a0696 owncloud.config.php
4b2038786571c62129d748bb71262a7cbc966cf4b97482f13bcedaa36fcfa343080a464fc74463a9bd6615c99a10cd590b91cacead62632db36bfd8940173d13 owncloud-6-always-return-true-isSetLocaleWorking.patch"