aboutsummaryrefslogtreecommitdiffstats
path: root/main/caja-extensions/APKBUILD
blob: 4128aff56b643cf4836f408929357b60e2311613 (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
49
50
51
# Contributor: Alan Lacerda <alacerda@alpinelinux.org>
# Maintainer: Alan Lacerda <alacerda@alpinelinux.org>
pkgname=caja-extensions
pkgver=1.10.0
pkgrel=0
pkgdesc="Set of extensions for Caja file manager"
url="https://github.com/mate-desktop/caja-extensions"
arch="all"
license="GPL2"
depends="caja"
depends_dev=""
makedepends="$depends_dev glib-dev gtk+2.0-dev caja-dev dconf-dev
	mate-desktop-dev"
install=""
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
source="http://pub.mate-desktop.org/releases/${pkgver%.*}/$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 \
		--sysconfdir=/etc \
		--enable-sendto \
		--enable-wallpaper \
		--enable-open-terminal \
		|| return 1
	make || return 1
}

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

md5sums="35b66b8f9c033c32ce0077b24a0a3b88  caja-extensions-1.10.0.tar.xz"
sha256sums="08dd6e5d649fbcdc53a1684e89ab0f4e74a812dd1d7b684201b63f94f649b0ea  caja-extensions-1.10.0.tar.xz"
sha512sums="157cc7b2f23ad7119c3747791bbedd3ecd858d0442b97ae089dca6254ecbe2e4c22f244e9fed3e931878d59b7037bd5f402bb38f59177e97879aa1828a0b895f  caja-extensions-1.10.0.tar.xz"