#Packager: George Vlahavas # Modified for Slint by Didier Spaier pkgname=mate-terminal pkgver=1.24.1 _mainver=`echo $pkgver | sed "s/\(.*\)\.\(.*\)/\1/"` pkgrel=1slint source=("http://pub.mate-desktop.org/releases/${_mainver}/mate-terminal-${pkgver}.tar.xz" "no-g_assert.patch" "slint.patch") docs=("readme" "install" "copying" "changelog" "authors" "news" "todo") options=("noautodotnew" "nosrcpack") doinst() { # compile schemas if [ -x /usr/bin/glib-compile-schemas ]; then /usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas > /dev/null 2>&1 fi } slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "mate-terminal (Terminal emulator for the MATE desktop)" "MATE Terminal is a terminal emulation application that you can use to" "perform the following actions:" " - Access a UNIX shell in the MATE environment." " - Run any application that is designed to run on VT102, VT220, and" " xterm terminals." "" "MATE Terminal features the ability to use multiple terminals in a" "single window (tabs) and profiles support." ) build() { cd $startdir/src/$pkgname-$pkgver patch -p1 --verbose < $startdir/src/no-g_assert.patch || exit 1 patch -p1 --verbose < $startdir/src/slint.patch || exit 1 ./configure \ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --localstatedir=/var \ --sysconfdir=/etc \ --disable-schemas-compile \ --build=$arch-slackware-linux make -j $numjobs || return 1 make install DESTDIR=$startdir/pkg }