summaryrefslogtreecommitdiff
path: root/community/nautilus-actions
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-06-26 00:01:48 +0000
committerroot <root@rshg054.dnsready.net>2012-06-26 00:01:48 +0000
commit9a6b691757346035549dbd12d1323301d04a6675 (patch)
tree5e06d2322b58a73254a0ca2c05d2083cb0209db2 /community/nautilus-actions
parent3b99c42eb8ca744e86e4e17197b1bf10642c6785 (diff)
Tue Jun 26 00:01:48 UTC 2012
Diffstat (limited to 'community/nautilus-actions')
-rw-r--r--community/nautilus-actions/PKGBUILD35
1 files changed, 22 insertions, 13 deletions
diff --git a/community/nautilus-actions/PKGBUILD b/community/nautilus-actions/PKGBUILD
index 28b0d8f71..c8e5e37b0 100644
--- a/community/nautilus-actions/PKGBUILD
+++ b/community/nautilus-actions/PKGBUILD
@@ -1,11 +1,12 @@
-# $Id: PKGBUILD 72506 2012-06-16 07:11:54Z ebelanger $
-# Maintainer : Ionut Biru <ibiru@archlinux.org>
+# $Id: PKGBUILD 72886 2012-06-24 13:16:21Z bgyorgy $
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+# Contributor: Ionut Biru <ibiru@archlinux.org>
# Contributor: Roman Kyrylych <roman@archlinux.org>
# Contributor: Tor Krill <tor@krill.nu>
pkgname=nautilus-actions
pkgver=3.2.2
-pkgrel=1
+pkgrel=2
pkgdesc="Configures programs to be launched when files are selected in Nautilus"
arch=('i686' 'x86_64')
url="http://www.nautilus-actions.org/"
@@ -18,17 +19,25 @@ source=(http://ftp.gnome.org/pub/GNOME/sources/nautilus-actions/${pkgver%.*}/$pk
sha256sums=('214af9fd2a7f561366bf88446f9b79182e696a303da8e15c7a8a1ffaeaca11c4')
build() {
- cd "$srcdir/$pkgname-$pkgver"
- ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
- --libexecdir=/usr/lib/nautilus-actions
- make
+ cd "$srcdir/$pkgname-$pkgver"
+
+ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libexecdir=/usr/lib \
+ --disable-schemas-install \
+ --with-gconf-schema-file-dir=/usr/share/gconf/schemas
+ make
}
package(){
- cd "$srcdir/$pkgname-$pkgver"
- make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="$pkgdir" install
- mkdir -p "$pkgdir/usr/share/gconf/schemas"
- gconf-merge-schema "$pkgdir/usr/share/gconf/schemas/$pkgname.schemas" --domain nautilus-actions \
- "$pkgdir"/etc/gconf/schemas/*.schemas
- rm -rf "$pkgdir/etc/gconf/schemas/"
+ cd "$srcdir/$pkgname-$pkgver"
+
+ make DESTDIR="$pkgdir" install
+
+ # Install GConf schemas
+ mkdir -p "$pkgdir/usr/share/gconf/schemas"
+ gconf-merge-schema "$pkgdir/usr/share/gconf/schemas/$pkgname.schemas" --domain nautilus-actions \
+ "$pkgdir"/usr/share/nautilus-actions/gconf-schemas/*.schemas
+ rm -r "$pkgdir/usr/share/nautilus-actions/gconf-schemas/"
+
+ # Remove redundant documentation
+ rm -r "$pkgdir/usr/share/doc/"
}