[arch-commits] Commit in nautilus/trunk (PKGBUILD)
Jan Steffens
heftig at nymeria.archlinux.org
Tue Mar 26 01:09:00 UTC 2013
Date: Tuesday, March 26, 2013 @ 02:09:00
Author: heftig
Revision: 180736
3.8.0
Modified:
nautilus/trunk/PKGBUILD
----------+
PKGBUILD | 44 +++++++++++++++++++++++++++++++-------------
1 file changed, 31 insertions(+), 13 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2013-03-26 01:07:14 UTC (rev 180735)
+++ PKGBUILD 2013-03-26 01:09:00 UTC (rev 180736)
@@ -1,23 +1,22 @@
# $Id$
# Maintainer: Jan de Groot <jgc at archlinux.org>
-pkgname=nautilus
-pkgver=3.6.3
+pkgbase=nautilus
+pkgname=(nautilus libnautilus-extension)
+pkgver=3.8.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')
+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 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=('c9b4096eb64006307bfd55640033191ab379c88ee8652e8203118a3ca9864e11')
build() {
- cd "$pkgname-$pkgver"
+ cd $pkgbase-$pkgver
./configure --prefix=/usr --sysconfdir=/etc \
--localstatedir=/var --disable-static \
--libexecdir=/usr/lib/nautilus \
@@ -28,7 +27,26 @@
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"
+}
More information about the arch-commits
mailing list