summaryrefslogtreecommitdiff
path: root/user/caja-dropbox/APKBUILD
blob: 17b585fbc098b4088b8370a19d70ea2252b5fa73 (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.0
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="d21f44c0e0f7f28a963fb8611e6992b3ea58ba2ad5910e440d286ab447f2f91e4776496569eb271ed25cb2628e35d2bd80d12bf832bc76011241f6b09903a8b2  caja-dropbox-1.22.0.tar.xz"