# SliTaz package receipt. PACKAGE="mate-panel" VERSION="1.9.1" CATEGORY="utilities" LICENSE="GPL3" SHORT_DESC="Panel where you can run applications and applets using MATE." 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" TAGS="MATE" DEPENDS="gtk+ dconf mate-menus caja libmateweather marco \ mate-desktop mate-session-manager" BUILD_DEPENDS="wget dconf-dev autoconf automake libtool itstool \ gtk+-dev mate-common-dev mate-desktop-dev mate-menus-dev yelp-tools \ harfbuzz-dev gtk-doc gobject-introspection-dev dbus-glib-dev \ libcanberra-dev libwnck-dev librsvg-dev util-linux-uuid-dev \ libmateweather-dev libsoup-dev sqlite-dev libcroco-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-introspection\ --disable-static \ $CONFIGURE_ARGS && make && make DESTDIR=$DESTDIR install } genpkg_rules() { mkdir -p $fs/usr/lib cp -a $install/usr/bin $fs/usr cp -a $install/usr/share $fs/usr cp -a $install/usr/libexec $fs/usr cp -a $install/usr/lib/*.so* $fs/usr/lib rm -rf $install/usr/share/help # Autostart mkdir -p $fs/etc/xdg/autostart/ cp -a $install/usr/share/applications/* $fs/etc/xdg/autostart/ }