summaryrefslogtreecommitdiff
path: root/user/caja/APKBUILD
blob: cd5f8b50e2378c91648422264b86fba24a46c872 (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 <adelie@aerdan.vulpine.house>
# Maintainer: Kiyoshi Aman <adelie@aerdan.vulpine.house>
pkgname=caja
pkgver=1.24.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"

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

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install

	for i in icons globs globs2 XMLnamespaces magic aliases subclasses types treemagic mime.cache version generic-icons; do
		rm "$pkgdir"/usr/share/mime/$i
	done
}

sha512sums="a68b23876cfa1171d5b1c75e4998c6b15f0ceebdc4fcaabb8d362e32e35b915b1a91a38648532ac8acc162dac50aeb4d07eff417ce2db7a8c50d68bd38a0b548  caja-1.24.0.tar.xz"