#Maintainer: George Vlahavas (vlahavas~at~gmail~dot~com) # Modified for Slint by Didier Spaier pkgname=engrampa pkgver=1.24.2 _majorver=`echo $pkgver | sed "s/\(.*\)\.\(.*\)/\1/"` pkgrel=2slint source=("http://pub.mate-desktop.org/releases/${_majorver}/engrampa-${pkgver}.tar.xz" "engrampa.tap") docs=("readme" "install" "copying" "changelog" "authors" "news" "todo" "maintainers") options=('noautodotnew') doinst() { # compile schemas if [ -x usr/bin/glib-compile-schemas ]; then usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas fi } slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "engrampa (an archive manager for MATE)" "MATE File Archiver (Engrampa) is an archive manager for the MATE" "desktop envirnment." "With Engrampa you can:" "" " * Create and modify archives." " * View the content of an archive." " * View a file contained in the archive." " * Extract files from the archive." ) build() { cd $startdir/src/engrampa-$pkgver ./configure --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --localstatedir=/var \ --sysconfdir=/etc \ --disable-packagekit \ --disable-static \ --build=$arch-slackware-linux make || return 1 make install DESTDIR=$startdir/pkg # thunar plugin mkdir -p $startdir/pkg/usr/libexec/thunar-archive-plugin cp $startdir/src/engrampa.tap $startdir/pkg/usr/libexec/thunar-archive-plugin/ chmod 755 $startdir/pkg/usr/libexec/thunar-archive-plugin/engrampa.tap }