summaryrefslogtreecommitdiff
path: root/user/caja-dropbox/APKBUILD
blob: 938d7616052f7ad30ea3cab474265efb922661ed (plain) (blame)
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
# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
pkgname=caja-dropbox
pkgver=1.22.1
pkgrel=0
pkgdesc="DropBox extension for Caja"
url="https://mate-desktop.org"
arch="all"
license="GPL-3.0+"
depends=""
makedepends="caja-dev py3-docutils py3-pygobject"
subpackages="$pkgname-doc"
source="https://pub.mate-desktop.org/releases/${pkgver%.*}/caja-dropbox-$pkgver.tar.xz"

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

check() {
	cd "$builddir"
	make check
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
	rm "$pkgdir"/usr/lib/caja/extensions-2.0/libcaja-dropbox.a
}

sha512sums="e7e9107c7654fac910762727782f35e3039b45e737341937d225126b2f63f8911f99281097b2488d3b79c0ed09fff4270b4c557166b94a722a2b1cd30fea2a2c  caja-dropbox-1.22.1.tar.xz"