diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
commit | 415856bdd4f48ab4f2732996f0bae58595092bbe (patch) | |
tree | ede2018b591f6dfb477fe9341ba17b9bc000fab9 /extra/file-roller |
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'extra/file-roller')
-rw-r--r-- | extra/file-roller/PKGBUILD | 39 | ||||
-rw-r--r-- | extra/file-roller/file-roller.install | 24 |
2 files changed, 63 insertions, 0 deletions
diff --git a/extra/file-roller/PKGBUILD b/extra/file-roller/PKGBUILD new file mode 100644 index 000000000..0cb20cb9b --- /dev/null +++ b/extra/file-roller/PKGBUILD @@ -0,0 +1,39 @@ +# $Id: PKGBUILD 99609 2010-11-15 20:07:07Z ibiru $ +# Maintainer: Jan de Groot <jgc@archlinux.org> + +pkgname=file-roller +pkgver=2.32.1 +pkgrel=1 +pkgdesc="Archive manipulator for GNOME2" +arch=('i686' 'x86_64') +license=('GPL') +depends=('desktop-file-utils' 'gconf>=2.32.0') +makedepends=('intltool' 'gnome-doc-utils>=0.20.1' 'pkg-config' 'nautilus>=2.32') +optdepends=('nautilus: nautilus shell extension' + 'unrar: the RAR uncompression program' + 'zip: creates PKZIP-compatible .zip files' + 'unzip: unpacks .zip archives' + 'p7zip: 7zip compression utility' + 'xz: managing LZMA and XZ compressed files' + 'arj: ARJ archiver' + 'unace: extraction tool for the proprietary ace archive format') +groups=('gnome-extra') +options=('!libtool' '!emptydirs') +install=file-roller.install +url="http://www.gnome.org" +source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/2.32/${pkgname}-${pkgver}.tar.bz2) +sha256sums=('a9109d9c871c022eb0553eeedc98520bad42ba3099088c16a9f7df817f60cc92') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + ./configure --prefix=/usr --sysconfdir=/etc \ + --libexecdir=/usr/lib/file-roller \ + --localstatedir=/var --disable-static \ + --disable-scrollkeeper + make + make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="${pkgdir}" install + + install -m755 -d "${pkgdir}/usr/share/gconf/schemas" + gconf-merge-schema "${pkgdir}/usr/share/gconf/schemas/${pkgname}.schemas" --domain file-roller ${pkgdir}/etc/gconf/schemas/*.schemas + rm -f ${pkgdir}/etc/gconf/schemas/*.schemas +} diff --git a/extra/file-roller/file-roller.install b/extra/file-roller/file-roller.install new file mode 100644 index 000000000..e39620af7 --- /dev/null +++ b/extra/file-roller/file-roller.install @@ -0,0 +1,24 @@ +pkgname=file-roller + +post_install() { + usr/sbin/gconfpkg --install ${pkgname} + update-desktop-database -q + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor +} + +pre_upgrade() { + pre_remove $1 +} + +post_upgrade() { + post_install $1 +} + +pre_remove() { + usr/sbin/gconfpkg --uninstall ${pkgname} +} + +post_remove() { + update-desktop-database -q + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor +} |