updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / nautilus2-open-terminal / PKGBUILD
blob61d40900c52551f9e7e25465ef8ca8d275f35b23
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
7 pkgver=0.9
8 pkgrel=3
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"
12 license=('GPL')
13 depends=('nautilus2')
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')
23 options=('!libtool')
25 build() {
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
37   make || return 1
38   make DESTDIR="$pkgdir" install