# Contributor: Alan Lacerda # Maintainer: Alan Lacerda pkgname=caja-extensions pkgver=1.9.90 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/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 \ --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="ba98615b4fb3da6676326df8c1a2cb27 caja-extensions-1.9.90.tar.xz" sha256sums="6ae64715db373fc80b92ea7d6a9a4983bede8bd31f4eb94fd59ea246410742fe caja-extensions-1.9.90.tar.xz" sha512sums="5cab3f16ed79c459b5f1fdd2086d533f01b70f1268e44254ac937bc27ae5a9d6801f8e310dfff2418537321edb6aaec3ae285844cbd58ef0ab790a6e13642703 caja-extensions-1.9.90.tar.xz"