# SliTaz package receipt. PACKAGE="xfce4-notifyd" VERSION="0.2.2" HI_VERSION=$(echo $VERSION | cut -d. -f1,2) CATEGORY="development" SHORT_DESC="Simple, visually-appealing notification daemon for Xfce" MAINTAINER="al.bobylev@gmail.com" LICENSE="GPL2" WEB_SITE="https://goodies.xfce.org/projects/applications/xfce4-notifyd" TARBALL="$PACKAGE-$VERSION.tar.bz2" WGET_URL="https://archive.xfce.org/src/apps/$PACKAGE/$HI_VERSION/$TARBALL" DEPENDS="libxfce4ui" BUILD_DEPENDS="libxfce4ui-dev libxfconf-dev" # What is the latest version available today? current_version() { wget -O - ${WGET_URL%/*/*}/$(wget -O - ${WGET_URL%/*/*} 2>/dev/null | \ sed '/href="/!d;/Index of/d;s|.*href="||;s|/.*||' | sort -Vr | sed q) 2>/dev/null | \ sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q } # Rules to configure and make the package. compile_rules() { ./configure --disable-debug $CONFIGURE_ARGS && make && make install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { cp -a $install/* $fs }