1 # $Id: PKGBUILD,v 1.10 2008/10/21 22:45:02 BaSh Exp $
2 # Maintainer: Roman Kyrylych <Roman.Kyrylych@gmail.com>
3 # Contributor: William Rea <sillywilly@gmail.com>
5 pkgname=nautilus2-open-terminal
6 tarname=nautilus-open-terminal
9 pkgdesc="A nautilus plugin for opening terminals in arbitrary local paths"
10 arch=('i686' 'x86_64')
11 url="http://manny.cluecoder.org/packages/nautilus-open-terminal"
14 makedepends=('pkgconfig' 'intltool')
15 conflicts=('nautilus-open-terminal')
16 source=(ftp://ftp.gnome.org/pub/GNOME/sources/$tarname/$pkgver/${tarname}-${pkgver}.tar.gz
17 https://launchpad.net/ubuntu/jaunty/+source/nautilus-open-terminal/0.9-3ubuntu1/+files/nautilus-open-terminal_0.9-3ubuntu1.diff.gz)
19 md5sums=('576e6d727ce758d1ac1748960d6897d1'
20 '287fc259b3c0dca17a3f60be2121759e')
22 provides=('nautilus2-open-terminal')
26 cd "$srcdir/$tarname-$pkgver"
28 patch -Np1 -i ../nautilus-open-terminal_0.9-3ubuntu1.diff || return 1
30 patch -Np1 -i debian/patches/gio-port.diff || return 1
31 patch -Np1 -i debian/patches/no-werror.diff || return 1
32 ./configure --prefix=/usr
34 #fix non-standard directory
35 sed -i 's|${prefix}/etc|/etc|' Makefile
38 make DESTDIR="$pkgdir" install