summaryrefslogtreecommitdiff
path: root/gnome-unstable/file-roller
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
commit415856bdd4f48ab4f2732996f0bae58595092bbe (patch)
treeede2018b591f6dfb477fe9341ba17b9bc000fab9 /gnome-unstable/file-roller
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'gnome-unstable/file-roller')
-rw-r--r--gnome-unstable/file-roller/PKGBUILD39
-rw-r--r--gnome-unstable/file-roller/file-roller.install22
2 files changed, 61 insertions, 0 deletions
diff --git a/gnome-unstable/file-roller/PKGBUILD b/gnome-unstable/file-roller/PKGBUILD
new file mode 100644
index 000000000..903630f8c
--- /dev/null
+++ b/gnome-unstable/file-roller/PKGBUILD
@@ -0,0 +1,39 @@
+# $Id: PKGBUILD 117857 2011-04-04 20:20:23Z heftig $
+# Maintainer: Jan de Groot <jgc@archlinux.org>
+
+pkgname=file-roller
+pkgver=3.0.0
+pkgrel=1
+pkgdesc="Archive manipulator for GNOME2"
+arch=('i686' 'x86_64')
+license=('GPL')
+depends=('desktop-file-utils' 'gtk3' 'hicolor-icon-theme' 'dconf')
+makedepends=('intltool' 'gnome-doc-utils' 'pkg-config' 'nautilus' 'libsm')
+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}/${pkgver%.*}/${pkgname}-${pkgver}.tar.bz2)
+sha256sums=('0c294d34493fc67577f70f73ada455f77634857e904b1dcaded59e3dcd092f8e')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ ./configure --prefix=/usr --sysconfdir=/etc \
+ --libexecdir=/usr/lib/file-roller \
+ --localstatedir=/var --disable-static \
+ --disable-scrollkeeper --disable-schemas-compile
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+}
diff --git a/gnome-unstable/file-roller/file-roller.install b/gnome-unstable/file-roller/file-roller.install
new file mode 100644
index 000000000..10a148241
--- /dev/null
+++ b/gnome-unstable/file-roller/file-roller.install
@@ -0,0 +1,22 @@
+pkgname=file-roller
+
+post_install() {
+ glib-compile-schemas usr/share/glib-2.0/schemas
+ update-desktop-database -q
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}
+
+pre_upgrade() {
+ if [ -f usr/share/gconf/schemas/${pkgname}.schemas ]; then
+ usr/sbin/gconfpkg --uninstall ${pkgname}
+ fi
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+
+post_remove() {
+ post_install $1
+}