1 # CleanHome: Installer: Arch
2 # Contributor: Xavion <Xavion (dot) 0 (at) Gmail (dot) com>
3 # Original Contributor: DonVla <donvla@users.sourceforge.net>
9 pkgdesc="Cleans up user's home directory by analyzing '.' config files/directories against a collaboratively maintained database"
11 url="http://cleanhome.sourceforge.net/"
14 optdepends=("firefox: for BrowserCall plugin" "opera: for BrowserCall plugin")
16 source=(http://downloads.sourceforge.net/sourceforge/cleanhome/${dirname}-${pkgver}.tar.gz)
19 cd ${srcdir}/${dirname}
22 patch -Np0 < ${startdir}/extra/plugin-location.patch || return 1
23 # optional: uncomment if you want to use opera
24 # patch -Np0 < ${startdir}/extra/opera-as-browser.patch
27 rm "CHPlugins/AptCacheInfo.pm" "CHPlugins/DiskUsage.pm" "CHPlugins/DpkgInstallState.pm"
30 install -d ${pkgdir}/usr/{share/${dirname}/,bin/}
33 cp -r * ${pkgdir}/usr/share/${dirname}/
34 #for file in CHPlugins/*; do
35 # install -m 0644 "$file" "${pkgdir}/usr/share/${dirname}"
39 #install -D -m 0755 "cleanhome.pl" "${pkgdir}/usr/bin/${pkgname}"
40 ln -s /usr/share/${dirname}/cleanhome.pl ${pkgdir}/usr/bin/${pkgname}
43 sha1sums=('58545185bc63b5b4aceb23e6a699b69bd0a50e24')