# SliTaz package receipt. PACKAGE="lxappearance" VERSION="0.6.3" CATEGORY="x-window" SHORT_DESC="LXDE GTK+ theme switcher" MAINTAINER="pankso@slitaz.org" LICENSE="GPL2" WEB_SITE="https://www.lxde.org/" TARBALL="$PACKAGE-$VERSION.tar.xz" WGET_URL="$SF_MIRROR/lxde/$TARBALL" TAGS="LXDE" HOST_ARCH="i486 arm" DEPENDS="gtk+ dbus-glib" BUILD_DEPENDS="xorg-libX11-dev gtk+-dev dbus-glib-dev" current_version() { wget -O - https://sourceforge.net/projects/lxde/files/LXAppearance/ 2>/dev/null | \ sed "/$PACKAGE-/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q" } # Rules to configure and make the package. compile_rules() { ./configure \ --sysconfdir=/etc \ --enable-dbus \ $CONFIGURE_ARGS && make && make install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/share cp -a $install/usr/bin $fs/usr cp -a $install/usr/share/applications $fs/usr/share cp -a $install/usr/share/lxappearance $fs/usr/share }