1 # Maintainer: Alessio Sergi <asergi at archlinux dot us>
3 pkgname=nautilus-elementary-bzr
7 pkgdesc="Nautilus patched for simplicity"
9 url="https://launchpad.net/nautilus-elementary"
11 depends=('clutter-gtk2' 'desktop-file-utils' 'exempi' 'gnome-desktop2' 'gvfs' 'libexif' 'vte')
12 makedepends=('bzr' 'gnome-common' 'gobject-introspection' 'gtk-doc' 'intltool')
13 optdepends=('gloobus-preview-bzr: for preview support'
14 'ne-terminal-config: for embedded terminal')
15 provides=(${_pkgname}=3.0.1.1)
16 conflicts=(${_pkgname} ${_pkgname}-elementary)
17 options=('!libtool' '!emptydirs')
18 install=${pkgname}.install
20 _bzrtrunk="lp:${_pkgname}-elementary"
21 _bzrmod="${_pkgname}-elementary"
26 msg "Connecting to the server...."
28 if [ -d ${_bzrmod} ]; then
30 msg "The local files are updated."
32 bzr co ${_bzrtrunk} ${_bzrmod}
35 msg "BZR checkout done or server timeout"
36 msg "Starting make..."
38 rm -rf "${_bzrmod}-build"
39 cp -r "${_bzrmod}" "${_bzrmod}-build"
43 ./configure --prefix=/usr --sysconfdir=/etc \
44 --localstatedir=/var --disable-static \
45 --libexecdir=/usr/lib/nautilus \
46 --disable-update-mimedb \
47 --disable-packagekit \
48 --disable-appindicator
53 cd "${srcdir}/${_bzrmod}-build"
55 make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="${pkgdir}" install
57 install -d -m755 "${pkgdir}/usr/share/gconf/schemas"
58 gconf-merge-schema "${pkgdir}"/usr/share/gconf/schemas/"${_pkgname}".schemas \
59 --domain "${_pkgname}" "${pkgdir}"/etc/gconf/schemas/*.schemas
60 rm -f "${pkgdir}"/etc/gconf/schemas/*.schemas