blob: 970692754b16e3ce04f116b596f976889963494a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
# $Id: PKGBUILD 183320 2013-04-21 22:06:39Z heftig $
# Maintainer: Jan de Groot <jgc@archlinux.org>
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 nautilus-sendto)
makedepends=(intltool gobject-introspection python)
url="http://www.gnome.org"
options=('!libtool' '!emptydirs')
source=(http://download.gnome.org/sources/$pkgbase/${pkgver::3}/$pkgbase-$pkgver.tar.xz)
sha256sums=('9827e939aa0621041754379ca0227ceb82877785f013dd5935ecc4b791314892')
build() {
cd $pkgbase-$pkgver
./configure --prefix=/usr --sysconfdir=/etc \
--localstatedir=/var --disable-static \
--libexecdir=/usr/lib/nautilus \
--disable-update-mimedb \
--disable-packagekit \
--disable-schemas-compile
make
}
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"
}
|