diff --git a/srcpkgs/bleachbit/INSTALL b/srcpkgs/bleachbit/INSTALL new file mode 100644 index 00000000000..261fc619b72 --- /dev/null +++ b/srcpkgs/bleachbit/INSTALL @@ -0,0 +1,6 @@ +case "$ACTION" in + post) + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor + update-desktop-database -q + ;; +esac diff --git a/srcpkgs/bleachbit/REMOVE b/srcpkgs/bleachbit/REMOVE new file mode 100644 index 00000000000..0d93623d0f1 --- /dev/null +++ b/srcpkgs/bleachbit/REMOVE @@ -0,0 +1,6 @@ +case "$ACTION" in + pre) + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor + update-desktop-database -q + ;; +esac diff --git a/srcpkgs/bleachbit/template b/srcpkgs/bleachbit/template new file mode 100644 index 00000000000..92a7dca779d --- /dev/null +++ b/srcpkgs/bleachbit/template @@ -0,0 +1,24 @@ +# Template file for 'bleachbit' +pkgname=bleachbit +version=0.9.5 +revision=1 +hostmakedepends="pygtk>=2 python>=2.6 desktop-file-utils gtk-update-icon-cache hicolor-icon-theme" +short_desc="Deletes unneeded files to free disk space and maintain privacy." +maintainer="graysky " +license="GPL3" +homepage="http://bleachbit.sourceforge.net" +distfiles="http://downloads.sourceforge.net/$pkgname/$pkgname-$version.tar.bz2" +checksum=dd8ecded6f078efb0e421c4d43a0481411e28ef6dac6d25653cd8e3cddf196f7 + +do_install() { + make + make prefix=/usr DESTDIR="$DESTDIR" install +} + +bleachbit_package() { + noarch="yes" + depends="pygtk>=2 python>=2.6 desktop-file-utils gtk-update-icon-cache hicolor-icon-theme" + pkg_install() { + vmove all + } +}