diff options
Diffstat (limited to 'extra/nautilus/PKGBUILD')
-rw-r--r-- | extra/nautilus/PKGBUILD | 48 |
1 files changed, 33 insertions, 15 deletions
diff --git a/extra/nautilus/PKGBUILD b/extra/nautilus/PKGBUILD index af0b33585..970692754 100644 --- a/extra/nautilus/PKGBUILD +++ b/extra/nautilus/PKGBUILD @@ -1,34 +1,52 @@ -# $Id: PKGBUILD 170899 2012-11-12 22:34:25Z heftig $ +# $Id: PKGBUILD 183320 2013-04-21 22:06:39Z heftig $ # Maintainer: Jan de Groot <jgc@archlinux.org> -pkgname=nautilus -pkgver=3.6.3 +pkgbase=nautilus +pkgname=(nautilus libnautilus-extension) +pkgver=3.8.1 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') +arch=(i686 x86_64) +license=(GPL) +depends=(libexif gnome-desktop exempi gvfs desktop-file-utils gnome-icon-theme dconf + libtracker-sparql libnotify nautilus-sendto) +makedepends=(intltool gobject-introspection python) url="http://www.gnome.org" -groups=('gnome') options=('!libtool' '!emptydirs') -install=nautilus.install -source=(http://download.gnome.org/sources/$pkgname/${pkgver::3}/$pkgname-$pkgver.tar.xz) -sha256sums=('d272027754ce8591959ae854fc6b5f43eee4af31e4eecf06de727acebe0ee46c') +source=(http://download.gnome.org/sources/$pkgbase/${pkgver::3}/$pkgbase-$pkgver.tar.xz) +sha256sums=('9827e939aa0621041754379ca0227ceb82877785f013dd5935ecc4b791314892') build() { - cd "$pkgname-$pkgver" + cd $pkgbase-$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" +package_nautilus() { + depends+=(libnautilus-extension) + groups=(gnome) + install=nautilus.install + + cd $pkgbase-$pkgver make DESTDIR="$pkgdir" install + +### Split libnautilus-extension + cd .. + mkdir -p n-e/usr/{lib,share} + mv "$pkgdir"/usr/include n-e/usr + mv "$pkgdir"/usr/lib/{girepository-1.0,pkgconfig} n-e/usr/lib + mv "$pkgdir"/usr/lib/libnautilus-extension.so* n-e/usr/lib + mv "$pkgdir"/usr/share/{gir-1.0,gtk-doc} n-e/usr/share +} + +package_libnautilus-extension() { + pkgdesc="Library for extending the $pkgdesc" + depends=(gtk3) + + mv n-e/* "$pkgdir" } |