aboutsummaryrefslogtreecommitdiffstats
path: root/main/caja/APKBUILD
blob: e0ecb54fd78976607aed595d1a6b5dcdd6eb8fd5 (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
44
45
46
47
48
# Contributor: Alan Lacerda <alacerda@alpinelinux.org>
# Maintainer: Alan Lacerda <alacerda@alpinelinux.org>
pkgname=caja
pkgver=1.9.90
pkgrel=0
pkgdesc="The file manager for the MATE desktop"
url="https://github.com/mate-desktop/caja"
arch="all"
license="GPL2"
depends="mate-common mate-desktop"
depends_dev=""
makedepends="$depends_dev intltool libtool dconf-dev gtk+-dev libunique-dev
	libsm-dev mate-desktop-dev"
install=""
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
source="http://pub.mate-desktop.org/releases/1.9/$pkgname-$pkgver.tar.xz"

_builddir="$srcdir/$pkgname-$pkgver"
prepare() {
	local i
	cd "$_builddir"
	for i in $source; do
		case $i in
		*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
		esac
	done
}

build() {
	cd "$_builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--disable-update-mimedb \
		|| return 1
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="${pkgdir}" install || return 1
	find "$pkgdir" -name \*.la -delete
}

md5sums="f8e6b5c46bb41e8cce09c3520b72995a  caja-1.9.90.tar.xz"
sha256sums="3700b3a24ab681d4b1ed4af270dc69cf00514c9bdca199c27533bf394a5eaf54  caja-1.9.90.tar.xz"
sha512sums="76261c5f314d5101a33c5c569a8d44fb9ac8d34bda296d9f20675905fce3c701b18a7c3167eccfe757ddcf4e94a8fbb579a2daad0342efb16c8417256e56e1dd  caja-1.9.90.tar.xz"