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 /community/gnome-commander/PKGBUILD |
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'community/gnome-commander/PKGBUILD')
-rw-r--r-- | community/gnome-commander/PKGBUILD | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/community/gnome-commander/PKGBUILD b/community/gnome-commander/PKGBUILD new file mode 100644 index 000000000..43f234067 --- /dev/null +++ b/community/gnome-commander/PKGBUILD @@ -0,0 +1,38 @@ +# $Id: PKGBUILD 37675 2011-01-16 12:03:36Z ibiru $ +# Maintainer : Ionut Biru <ibiru@archlinux.org> +# Contributor: Roman Kyrylych <roman@archlinux.org> +# Contributor: Johannes Sjolund <j.sjolund@gmail.com> + +pkgname=gnome-commander +pkgver=1.2.8.10 +pkgrel=1 +pkgdesc="A graphical two-pane filemanager for Gnome" +arch=('i686' 'x86_64') +url="http://www.nongnu.org/gcmd/" +license=('GPL') +depends=('libgnomeui' 'gnome-vfs' 'gconf' 'python2' 'libsm') +makedepends=('perlxml' 'gnome-doc-utils>=0.20.1' 'intltool') +options=(!libtool) +install=gnome-commander.install +source=(ftp://ftp.gnome.org/pub/GNOME/sources/gnome-commander/1.2/$pkgname-$pkgver.tar.bz2) +sha256sums=('148035ae09c32a383d30512e0a7129350a32b71d181bbd15b915cb67bc9232e0') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + + # python2 fix + for file in doc/*/gnome-commander.xml; do + sed -i 's_#!/usr/bin/env python_#!/usr/bin/env python2_' $file + done + + ./configure --prefix=/usr --libdir=/usr/lib --sysconfdir=/etc \ + --localstatedir=/var --disable-scrollkeeper --enable-python + + make + make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="${pkgdir}" install + + mkdir -p "${pkgdir}"/usr/share/gconf/schemas + gconf-merge-schema "${pkgdir}"/usr/share/gconf/schemas/${pkgname}.schemas \ + --domain ${pkgname} "${pkgdir}"/etc/gconf/schemas/*.schemas + rm -f "${pkgdir}"/etc/gconf/schemas/*.schemas +} |