# SliTaz package receipt. PACKAGE="xdg-user-dirs" VERSION="0.17" CATEGORY="utilities" LICENSE="GPL" SHORT_DESC="Tool to help manage user directories." MAINTAINER="yuripourre@gmail.com" WEB_SITE="https://www.freedesktop.org/wiki/Software/xdg-user-dirs" TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="https://user-dirs.freedesktop.org/releases/$TARBALL" DEPENDS="" BUILD_DEPENDS="libtool gawk" # What is the latest version available today? current_version() { wget -O - ${WGET_URL%/*}/ 2>/dev/null | \ sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q } # Rules to configure and make the package. compile_rules() { ./autogen.sh \ --disable-documentation \ $CONFIGURE_ARGS && make && make DESTDIR=$DESTDIR install } genpkg_rules() { mkdir -p $fs/usr cp -a $install/usr/bin $fs/usr }