updated on Thu Jan 12 08:01:00 UTC 2012
[aur-mirror.git] / nautilus-no-deletekey / PKGBUILD
blobf0ec437ea41e0f76bd2f5dcabd39252451f3b6dd
1 # Maintainer: Simplet <simplet AT ptigeek _DOT_ net>
2 # Contributor: Jan de Groot <jgc@archlinux.org>
4 pkgname=nautilus-no-deletekey
5 pkgver=2.32.1
6 pkgrel=1
7 pkgdesc="The GNOME shell and file manager - No Delete Key Patch"
8 arch=('i686' 'x86_64')
9 license=('GPL')
10 depends=('libexif>=0.6.19' 'gnome-desktop>=2.32.0' 'exempi>=2.1.1' 'libunique>=1.1.6' 'hicolor-icon-theme' 'gvfs>=1.6.6' 'desktop-file-utils')
11 makedepends=('intltool' 'gobject-introspection' 'namcap')
12 replaces=('gnome-volume-manager')
13 url="http://www.gnome.org"
14 groups=('gnome')
15 options=('!libtool' '!emptydirs')
16 install=nautilus.install
17 source=(http://ftp.gnome.org/pub/gnome/sources/nautilus/2.32/nautilus-${pkgver}.tar.bz2
18         nautilus-condrestart.patch
19         nautilus-nodelkey.patch)
20 sha256sums=('3d7291682ed0cdfe95f5faf80104528f0affb26330007f08dd7a41d7e21b0349'
21            'f825292ef26274d3044272ca9f25095391cc49d30fb0056e7ed7346a1b4d106c'
22            '67e3cfd886ae966dab9524ddcfa0e2f748b608a7aababf9ac72e50d2cf76aa6c')
24 build() {
25   cd "${srcdir}/nautilus-${pkgver}"
26   patch -Np1 -i "${srcdir}/nautilus-condrestart.patch"
27   patch -Np1 -i "${srcdir}/nautilus-nodelkey.patch"
28   ./configure --prefix=/usr --sysconfdir=/etc \
29       --localstatedir=/var --disable-static \
30       --libexecdir=/usr/lib/nautilus \
31       --disable-update-mimedb \
32       --disable-packagekit
33   make
34   make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="${pkgdir}" install
36   install -m755 -d "${pkgdir}/usr/share/gconf/schemas"
37   gconf-merge-schema "${pkgdir}/usr/share/gconf/schemas/nautilus.schemas" --domain nautilus ${pkgdir}/etc/gconf/schemas/*.schemas
38   rm -f ${pkgdir}/etc/gconf/schemas/*.schemas