# SliTaz package receipt. PACKAGE="lxshortcut" VERSION="0.1.2" CATEGORY="x-window" SHORT_DESC="LXDE application shortcut editor" MAINTAINER="rcx@zoominternet.net" LICENSE="GPL3" TARBALL="$PACKAGE-$VERSION.tar.gz" WEB_SITE="https://www.lxde.org/" WGET_URL="$SF_MIRROR/lxde/$TARBALL" TAGS="LXDE" DEPENDS="glib glibc-base libgio expat zlib \ gtk+ atk cairo pango pixman libpng fontconfig freetype \ xorg-libX11 xorg-libXau xorg-libXdmcp xorg-libXext xorg-libXrender" BUILD_DEPENDS="pkg-config gettext intltool gtk+-dev \ xorg-xproto xorg-renderproto xorg-libX11-dev xorg-kbproto xorg-libXau-dev xorg-libXdmcp-dev" # What is the latest version available today? current_version() { wget -O - https://sourceforge.net/projects/lxde/files/LXShortcut%20%28edit%20app%20shortcut%29/ 2>/dev/null | \ sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ sed "/$PACKAGE-/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q" } # Rules to configure and make the package. compile_rules() { ## Fix infinite loop. #touch po/stamp-it ./configure \ --prefix=/usr \ --sysconfdir=/etc \ $CONFIGURE_ARGS && make && make DESTDIR=$DESTDIR 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/lxshortcut $fs/usr/share }