updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / mate-file-manager-open-terminal / PKGBUILD
blob1e32aaa041a45ea573891233ac2fc1a9159536f5
1 pkgname=mate-file-manager-open-terminal
2 pkgver=2011.08.31
3 pkgrel=1
4 pkgdesc="An extension for opening terminals in arbitrary local paths"
5 arch=('i686' 'x86_64')
6 url="http://manny.cluecoder.org/packages/nautilus-open-terminal"
7 license=('GPL')
8 depends=('mate-file-manager')
9 makedepends=('pkgconfig' 'intltool')
10 install=mate-file-manager-open-terminal.install
11 options=('!libtool')
12 group=('mate-extras')
13 source=(http://sourceforge.net/projects/matede/files/${pkgver}/${pkgname}.tar.gz/download)
14 sha256sums=('ca8006db87798d8720d7e9aa494ef380bf76d1f5acb204ff4f2c2b02785ecb51')
16 build() {
17         cd "$srcdir/$pkgname"
19         ./configure --prefix=/usr || return 1
21         #fix non-standard directory
22         sed -i 's|${prefix}/etc|/etc|' Makefile
24         make || return 1
27 package() {
28         cd "$srcdir/$pkgname"
29         make MATECONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="$pkgdir" install || return 1
31         install -m755 -d ${pkgdir}/usr/share/mateconf/schemas
33         mateconf-merge-schema ${pkgdir}/usr/share/mateconf/schemas/${pkgname}.schemas --domain ${pkgname} ${pkgdir}/etc/mateconf/schemas/*.schemas || return 1
34         rm -f ${pkgdir}/etc/mateconf/schemas/*.schemas