# SliTaz package receipt. PACKAGE="marco" VERSION="1.9.3" CATEGORY="utilities" LICENSE="GPL3" SHORT_DESC="A window manager for MATE Desktop." MAINTAINER="yuripourre@gmail.com" TARBALL="$PACKAGE-$VERSION.tar.gz" WEB_SITE="https://www.mate-desktop.org/" WGET_URL="https://github.com/mate-desktop/$PACKAGE/archive/$TARBALL" DEPENDS="gtk+ libcanberra libgtop xorg-libICE xorg-libSM \ xorg-libXt startup-notification mate-desktop" BUILD_DEPENDS="wget gtk+-dev autoconf automake libtool itstool gtk-doc \ mate-common-dev mate-desktop-dev libcanberra-dev libgtop-dev yelp-tools \ xorg-libICE-dev xorg-libSM-dev xorg-libXt-dev startup-notification-dev \ util-linux-uuid-dev zenity xcb-util-dev" current_version() { wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q' } # Rules to configure and make the package. compile_rules() { ./autogen.sh \ --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ --disable-static \ $CONFIGURE_ARGS && make && make DESTDIR=$DESTDIR install } genpkg_rules() { mkdir -p $fs/usr/lib $fs/usr/share cp -a $install/usr/bin $fs/usr cp -a $install/usr/share/glib-2.0 $fs/usr/share cp -a $install/usr/share/MateConf $fs/usr/share cp -a $install/usr/share/mate* $fs/usr/share cp -a $install/usr/share/themes $fs/usr/share cp -a $install/usr/lib/*.so* $fs/usr/lib }