#Packager: George Vlahavas # included in Slint by Didier Spaier pkgname=marco pkgver=1.24.2 _mainver=`echo $pkgver | sed "s/\(.*\)\.\(.*\)/\1/"` pkgrel=2slint source=("http://pub.mate-desktop.org/releases/${_mainver}/marco-${pkgver}.tar.xz") 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------------------------------------------------------| "$pkgname (A lightweight GTK based Window Manager)" "Marco is a small window manager, using gtk to do everything. As the" "author says, Marco is a Boring window manager for the adult in you." "Many window managers are like Marshmallow Froot Loops; Marco is like" "Cheerios." ) build() { cd $startdir/src/marco-$pkgver patch -p1 --verbose < $startdir/Slint_keybindings_to_cycle_windows_and_panels.diff patch -p1 --verbose < $startdir/KeybindingForRunTerminal.patch ./autogen.sh ./configure \ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --localstatedir=/var \ --sysconfdir=/etc \ --disable-schemas-compile \ --disable-static \ --build=$arch-slackware-linux make -j $numjobs || return 1 make install DESTDIR=$startdir/pkg }