Date: Sunday, May 23, 2010 @ 09:27:01 Author: andyrtr Revision: 80909
rebuild, move to xfce4-goodies group, use optional deps Modified: squeeze/trunk/PKGBUILD squeeze/trunk/squeeze.install -----------------+ PKGBUILD | 25 ++++++++++++++++++++----- squeeze.install | 10 +--------- 2 files changed, 21 insertions(+), 14 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2010-05-23 11:22:22 UTC (rev 80908) +++ PKGBUILD 2010-05-23 13:27:01 UTC (rev 80909) @@ -1,16 +1,28 @@ # $Id$ +# Maintainer: AndyRTR <[email protected]> # Contributor: David Keogh <[email protected]> pkgname=squeeze pkgver=0.2.3 -pkgrel=2 +pkgrel=3 pkgdesc="Squeeze is a modern and advanced archive manager for the Xfce Desktop Environment." arch=('i686' 'x86_64') license=('GPL2') url="http://squeeze.xfce.org/" -groups=('xfce4') -depends=('thunar') +groups=('xfce4-goodies') +depends=('thunar' 'desktop-file-utils' 'hicolor-icon-theme') makedepends=('pkgconfig' 'tar' 'desktop-file-utils') +optdepends=('tar: TAR support' + 'gzip: GZIP support' + 'bzip2: BZIP2 support' + 'zip: ZIP support' + 'unzip: ZIP support' + 'unrar: RAR support' + 'p7zip: 7z support' + 'arj: ARJ support' + 'lha: LHA support' + 'lzma-utils: LZMA support' + 'lzop: LZOP support') options=('!libtool') conflicts=('squeeze-svn') install=${pkgname}.install @@ -18,9 +30,12 @@ md5sums=('bd3cb0648b49be1f146fc4f675606176') build() { - cd ${startdir}/src/${pkgname}-${pkgver} + cd ${srcdir}/${pkgname}-${pkgver} ./configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib/xfce4 \ --localstatedir=/var --disable-static || return 1 make || return 1 - make DESTDIR=${startdir}/pkg install || return 1 } +package() { + cd ${srcdir}/${pkgname}-${pkgver} + make DESTDIR=${pkgdir} install || return 1 +} Modified: squeeze.install =================================================================== --- squeeze.install 2010-05-23 11:22:22 UTC (rev 80908) +++ squeeze.install 2010-05-23 13:27:01 UTC (rev 80909) @@ -1,11 +1,4 @@ post_install() { - cat << EOF - -NOTE for squeeze: ----- - ==> please install bzip2, gzip, unrar, zip, unzip and lzop - ==> to use all of squeeze's capabilities -EOF update-desktop-database -q gtk-update-icon-cache -q -t -f usr/share/icons/hicolor } @@ -15,6 +8,5 @@ } post_remove() { - update-desktop-database -q - gtk-update-icon-cache -q -t -f usr/share/icons/hicolor + post_install $1 }
