# Contributor: Alan Lacerda # Maintainer: Alan Lacerda pkgname=caja pkgver=1.18.3 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+3.0-dev libunique3-dev libsm-dev libnotify-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 } sha512sums="845f7532fbf701fecc5b0e29036ee4b4d6c65f520d6d7fdbddd05d7e7bcd0f7bbd52c54cb45dbb0bd7a5bbf2ece11e584e5074e4c86954b2730baa469168a566 caja-1.18.3.tar.xz"