aboutsummaryrefslogtreecommitdiffstats
path: root/main/owncloud-mozilla_sync
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@alpinelinux.org>2014-03-07 21:02:48 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2014-03-07 21:09:20 +0000
commit526cd2d0784cf7d2de905a228cde098c07240b18 (patch)
tree2c3fbc6a3b75edbd22b03cf98cc9e8c9e927460f /main/owncloud-mozilla_sync
parent11b49da96f6b5489aa5e8fc85a511eb86a610532 (diff)
downloadaports-526cd2d0784cf7d2de905a228cde098c07240b18.tar.bz2
aports-526cd2d0784cf7d2de905a228cde098c07240b18.tar.xz
main/owncloud-mozilla_sync: new aport
Mozilla Sync App for ownCloud (cherry picked from commit 6c4d7456e296d3dc86865c366a6a829daabf27d9)
Diffstat (limited to 'main/owncloud-mozilla_sync')
-rw-r--r--main/owncloud-mozilla_sync/APKBUILD43
1 files changed, 43 insertions, 0 deletions
diff --git a/main/owncloud-mozilla_sync/APKBUILD b/main/owncloud-mozilla_sync/APKBUILD
new file mode 100644
index 0000000000..eceb95dcbd
--- /dev/null
+++ b/main/owncloud-mozilla_sync/APKBUILD
@@ -0,0 +1,43 @@
+# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
+pkgname=owncloud-mozilla_sync
+_realname=mozilla_sync
+pkgver="1.4"
+pkgrel=0
+pkgdesc="Mozilla Sync App for ownCloud"
+url="http://https://github.com/owncloud/mozilla_sync"
+arch="noarch"
+license="AGPL"
+depends="owncloud"
+depends_dev=
+makedepends="$depends_dev"
+install=
+subpackages=
+replaces=
+source="https://github.com/owncloud/$_realname/archive/v$pkgver.tar.gz
+ "
+
+_builddir="$srcdir"/$_realname-$pkgver
+
+prepare() {
+ cd "$_builddir"
+ for i in $source; do
+ case $i in
+ *.patch) msg "Applying patch $i"; patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
+ done
+}
+
+build() {
+ cd "$_builddir"
+ return 0
+}
+
+package() {
+ cd "$_builddir"
+ mkdir -p "$pkgdir"/usr/share/webapps/owncloud/apps/$_realname
+ mv * "$pkgdir"/usr/share/webapps/owncloud/apps/$_realname || exit 1
+}
+
+md5sums="e98fdb10ff4139b4259e2a183a88975a v1.4.tar.gz"
+sha256sums="314621c290daee93429d881e78d8cae13faaca3205b23860f06450633c5c3b6a v1.4.tar.gz"
+sha512sums="a279a6e0109aa3b17442265358284583d846f88afa3746005792b93dffbd3396dc1277ce892b2a226496038ec6e8ec7ef2295b981ef8acf1a3fa3c32886623d0 v1.4.tar.gz"