diff options
author | root <root@rshg054.dnsready.net> | 2012-04-03 00:01:35 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-04-03 00:01:35 +0000 |
commit | c7cb603f86b4d4fb6567e3faa15b916a306f7004 (patch) | |
tree | bfdbca0002d6aeecc13f29a1c14d3991e6e93d4c /testing/nautilus | |
parent | 321f44e3a5da426309c4b6664af035c97f907565 (diff) |
Tue Apr 3 00:01:35 UTC 2012
Diffstat (limited to 'testing/nautilus')
-rw-r--r-- | testing/nautilus/PKGBUILD | 34 | ||||
-rw-r--r-- | testing/nautilus/nautilus.install | 20 |
2 files changed, 54 insertions, 0 deletions
diff --git a/testing/nautilus/PKGBUILD b/testing/nautilus/PKGBUILD new file mode 100644 index 000000000..ade197593 --- /dev/null +++ b/testing/nautilus/PKGBUILD @@ -0,0 +1,34 @@ +# $Id: PKGBUILD 155230 2012-04-01 11:36:11Z heftig $ +# Maintainer: Jan de Groot <jgc@archlinux.org> + +pkgname=nautilus +pkgver=3.4.0 +pkgrel=1 +pkgdesc="GNOME file manager" +arch=('i686' 'x86_64') +license=('GPL') +depends=('libexif' 'gnome-desktop' 'exempi' 'gvfs' 'desktop-file-utils' 'gnome-icon-theme' 'dconf' 'libtracker-sparql' 'libnotify') +makedepends=('intltool' 'gobject-introspection') +url="http://www.gnome.org" +groups=('gnome') +options=('!libtool' '!emptydirs') +install=nautilus.install +source=(http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz) +sha256sums=('abdc8e84a42ab69158beedeec5b2b960a8bf899fb2b40ad162270223e1f243a3') + +build() { + cd "$pkgname-$pkgver" + ./configure --prefix=/usr --sysconfdir=/etc \ + --localstatedir=/var --disable-static \ + --libexecdir=/usr/lib/nautilus \ + --disable-nst-extension \ + --disable-update-mimedb \ + --disable-packagekit \ + --disable-schemas-compile + make +} + +package() { + cd "$pkgname-$pkgver" + make DESTDIR="$pkgdir" install +} diff --git a/testing/nautilus/nautilus.install b/testing/nautilus/nautilus.install new file mode 100644 index 000000000..631e38649 --- /dev/null +++ b/testing/nautilus/nautilus.install @@ -0,0 +1,20 @@ +post_install() { + usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas + update-desktop-database -q + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor + update-mime-database usr/share/mime > /dev/null +} + +pre_upgrade() { + if (( $(vercmp $2 2.90.0) < 0 )); then + usr/sbin/gconfpkg --uninstall nautilus + fi +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} |