diff options
author | Leonardo Arena <rnalrd@alpinelinux.org> | 2014-03-07 21:02:48 +0000 |
---|---|---|
committer | Leonardo Arena <rnalrd@alpinelinux.org> | 2014-03-07 21:02:48 +0000 |
commit | 6c4d7456e296d3dc86865c366a6a829daabf27d9 (patch) | |
tree | 80aeef61822107567be39ad5e57b57b341a207da | |
parent | ea4788abbea933ed68c5e7ed24326c3011fd3ef0 (diff) | |
download | aports-6c4d7456e296d3dc86865c366a6a829daabf27d9.tar.bz2 aports-6c4d7456e296d3dc86865c366a6a829daabf27d9.tar.xz |
main/owncloud-mozilla_sync: new aport
Mozilla Sync App for ownCloud
-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 000000000..eceb95dcb --- /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" |