# Contributor: Alan Lacerda # Maintainer: Alan Lacerda pkgname=caja pkgver=1.10.1 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+2.0-dev libunique-dev libsm-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 \ --disable-update-mimedb \ || return 1 make || return 1 } package() { cd "$_builddir" make DESTDIR="${pkgdir}" install || return 1 find "$pkgdir" -name \*.la -delete } md5sums="53a589b275fd1bf30590537e47ab3f9e caja-1.10.1.tar.xz" sha256sums="da32df394d858ce48f53d4cfb1a5a7949180cb8dcaedf9d231fbadb9a74bdb71 caja-1.10.1.tar.xz" sha512sums="ff27364f205f33e3d8cd44c4b6ec1190058d9befc545e584f24689b54fef43397a5b64697e1adc3d18d6cf7af0c36a7440e899e85faef0687de88ccc36339134 caja-1.10.1.tar.xz"