diff options
author | root <root@rshg054.dnsready.net> | 2012-10-04 01:23:34 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-10-04 01:23:34 -0700 |
commit | c3ff6b4da8966c22dcbf0f5d8a957b875242789f (patch) | |
tree | 73064dc985b6d59695639dfb6d4ae4ba99395cc5 /gnome-unstable/nautilus-open-terminal | |
parent | 1350233b6dc1924ba29a42462447995f26dae0dc (diff) |
Thu Oct 4 01:23:34 PDT 2012
Diffstat (limited to 'gnome-unstable/nautilus-open-terminal')
-rw-r--r-- | gnome-unstable/nautilus-open-terminal/PKGBUILD | 33 | ||||
-rw-r--r-- | gnome-unstable/nautilus-open-terminal/nautilus-open-terminal.install | 17 |
2 files changed, 50 insertions, 0 deletions
diff --git a/gnome-unstable/nautilus-open-terminal/PKGBUILD b/gnome-unstable/nautilus-open-terminal/PKGBUILD new file mode 100644 index 000000000..bb24ee9eb --- /dev/null +++ b/gnome-unstable/nautilus-open-terminal/PKGBUILD @@ -0,0 +1,33 @@ +# $Id: PKGBUILD 167897 2012-10-03 16:24:35Z jgc $ +# Maintainer : Biru Ionut <ionut@archlinux.ro> +# Contributor: Roman Kyrylych <Roman.Kyrylych@gmail.com> +# Contributor: William Rea <sillywilly@gmail.com> +pkgname=nautilus-open-terminal +pkgver=0.19 +pkgrel=3 +pkgdesc="A nautilus plugin for opening terminals in arbitrary local paths" +arch=('i686' 'x86_64') +url="http://ftp.gnome.org/pub/GNOME/sources/nautilus-open-terminal" +license=('GPL') +depends=('nautilus' 'gconf') +makedepends=('pkgconfig' 'gettext' 'intltool') +install=nautilus-open-terminal.install +source=(ftp://ftp.gnome.org/pub/GNOME/sources/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.bz2) +options=('!libtool' '!emptydirs') +sha256sums=('4760f3a5a862ba9239ea92690a42ecee2c68fad413b023dd06505bdb3ee1f6af') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + ./configure --prefix=/usr --sysconfdir=/etc --disable-static + + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="${pkgdir}" install + + install -dm755 "${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 +} diff --git a/gnome-unstable/nautilus-open-terminal/nautilus-open-terminal.install b/gnome-unstable/nautilus-open-terminal/nautilus-open-terminal.install new file mode 100644 index 000000000..f7cdb9507 --- /dev/null +++ b/gnome-unstable/nautilus-open-terminal/nautilus-open-terminal.install @@ -0,0 +1,17 @@ +pkgname=nautilus-open-terminal + +post_install() { + usr/sbin/gconfpkg --install ${pkgname} +} + +pre_upgrade() { + pre_remove $1 +} + +post_upgrade() { + post_install $1 +} + +pre_remove() { + usr/sbin/gconfpkg --uninstall ${pkgname} +} |