aboutsummaryrefslogtreecommitdiffstats
path: root/main/owncloud-mozilla_sync/APKBUILD
blob: a1c01031e40db357c767696e1b6dc1e52bde5159 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
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=""
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"