summaryrefslogtreecommitdiff
path: root/user/caja/APKBUILD
blob: 3b9b68b9e0906089c06533d9b1c9e609f9834ca5 (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
39
40
# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
pkgname=caja
pkgver=1.22.0
pkgrel=0
pkgdesc="File manager for the MATE desktop environment"
url="https://mate-desktop.org"
arch="all"
options="!check" # testsuite requires X
license="GPL-2.0+ AND LGPL-2.0+"
depends=""
makedepends="gobject-introspection-dev intltool libexif-dev libnotify-dev
	libxml2-dev mate-desktop-dev"
subpackages="$pkgname-dev $pkgname-doc"
source="https://pub.mate-desktop.org/releases/${pkgver%.*}/caja-$pkgver.tar.xz"
builddir="$srcdir/caja-$pkgver"

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
}

sha512sums="ca97a1e81cc7b061bb331d7a4574c76831dbff50bdc9ba0a162675def7278cf5dadb37aacb0e1e37a0ac2cf60df73f98353aaa36fa0e69a0097017eed5d325b6  caja-1.22.0.tar.xz"