bleahbit: use gnu-makefile build method, use pycompile trigger, remove redundant python dep.
This commit is contained in:
parent
0e2a3aac12
commit
e6ccfea0f4
1 changed files with 9 additions and 14 deletions
|
@ -1,8 +1,10 @@
|
|||
# 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"
|
||||
revision=2
|
||||
build_style=gnu-makefile
|
||||
make_install_args="prefix=/usr"
|
||||
hostmakedepends="pygtk>=2 desktop-file-utils gtk-update-icon-cache hicolor-icon-theme"
|
||||
short_desc="Deletes unneeded files to free disk space and maintain privacy"
|
||||
maintainer="graysky <graysky AT archlinux DOT us>"
|
||||
license="GPL3"
|
||||
|
@ -10,18 +12,11 @@ homepage="http://bleachbit.sourceforge.net"
|
|||
distfiles="http://downloads.sourceforge.net/$pkgname/$pkgname-$version.tar.bz2"
|
||||
checksum=dd8ecded6f078efb0e421c4d43a0481411e28ef6dac6d25653cd8e3cddf196f7
|
||||
|
||||
do_build() {
|
||||
make
|
||||
}
|
||||
|
||||
do_install() {
|
||||
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
|
||||
}
|
||||
depends="pygtk>=2 desktop-file-utils gtk-update-icon-cache hicolor-icon-theme"
|
||||
pycompile_dirs="/usr/share/bleachbit"
|
||||
pkg_install() {
|
||||
vmove all
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue