# Contributor: Alan Lacerda # Maintainer: Alan Lacerda pkgname=caja pkgver=1.14.0 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 libxml2-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 } md5sums="017a81d1faba2d55ccaee4abc90de5dd caja-1.14.0.tar.xz" sha256sums="20ccb72c55b121c10aff3de68d9e85dde3ba98940592147bf290ff1f8f376474 caja-1.14.0.tar.xz" sha512sums="130aec4bdf39c9e59b3d536ec6690b5022e81fe4625dfb0eeac972e55f8e3d81572972b5b9c747c8c04fa7259a54ed128b4ff6c010d556e9a149b96bee6914ba caja-1.14.0.tar.xz"