diff options
-rw-r--r-- | main/owncloud-mozilla_sync/APKBUILD | 43 |
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" |