# $Id: PKGBUILD 104056 2014-01-14 22:32:49Z jlichtblau $ # Maintainer: Jaroslav Lichtblau # Contributor: Alexander Rødseth # Contributor: Ionut Biru # Contributor: Roman Kyrylych # Contributor: Johannes Sjolund pkgname=gnome-commander pkgver=1.2.8.17 pkgrel=1 pkgdesc='Graphical two-pane filemanager for Gnome' arch=('i686' 'x86_64') url='http://gcmd.github.io/' license=('GPL') depends=('libgnomeui' 'gnome-vfs' 'gconf' 'python2' 'libsm') makedepends=('perl-xml-parser' 'gnome-doc-utils' 'intltool') install=$pkgname.install changelog=$pkgname.changelog source=(ftp://ftp.gnome.org/pub/GNOME/sources/gnome-commander/1.2/$pkgname-$pkgver.tar.xz) sha256sums=('135033ad2073c9d6fee51a52f1e7a56358b8e3a6fa46d64188dc3feebfe00606') build() { cd "$pkgname-$pkgver" # Python 2 fix for f in doc/*/gnome-commander.xml; do sed -i 's:env python:env python2:' "$f" done ./configure --prefix=/usr --libdir=/usr/lib --sysconfdir=/etc \ --localstatedir=/var --disable-scrollkeeper --enable-python make } package() { cd "$pkgname-$pkgver" make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="$pkgdir" install install -d "$pkgdir/usr/share/gconf/schemas" gconf-merge-schema "$pkgdir/usr/share/gconf/schemas/$pkgname.schemas" \ --domain "$pkgname" "$pkgdir/etc/gconf/schemas/"*.schemas rm -rf "$pkgdir/etc/gconf/schemas/" } # vim:set ts=2 sw=2 et: