# SliTaz package receipt. PACKAGE="bleachbit" VERSION="3.0" CATEGORY="system-tools" SHORT_DESC="Deletes unneeded files to free disk space and maintain privacy." MAINTAINER="devl547@gmail.com" LICENSE="GPL3" WEB_SITE="https://www.bleachbit.org/" TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="https://github.com/bleachbit/bleachbit/archive/refs/tags/v$VERSION.tar.gz" DEPENDS="pygtk python" BUILD_DEPENDS="python" # What is the latest version available today? current_version() { wget -O - https://www.bleachbit.org/download/source 2>/dev/null | \ sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q } # Rules to configure and make the package. compile_rules() { make -C po local && make install \ prefix=/usr \ DESTDIR=$DESTDIR } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/ cp -a $install/usr/bin $fs/usr cp -a $install/usr/share $fs/usr }