From 1bd47d3e04c409582486ea3ec915d3b7899f6841 Mon Sep 17 00:00:00 2001 From: root Date: Wed, 20 Feb 2013 00:04:38 -0800 Subject: Wed Feb 20 00:04:38 PST 2013 --- community/nemo/PKGBUILD | 58 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 community/nemo/PKGBUILD (limited to 'community/nemo/PKGBUILD') diff --git a/community/nemo/PKGBUILD b/community/nemo/PKGBUILD new file mode 100644 index 000000000..b89dda95c --- /dev/null +++ b/community/nemo/PKGBUILD @@ -0,0 +1,58 @@ +# $Id: PKGBUILD 84548 2013-02-19 20:34:47Z faidoc $ +# Maintainer: Alexandre Filgueira +# Contributor: Ner0 + +pkgname=nemo +pkgver=1.7.1 +pkgrel=1 +pkgdesc="Cinnamon file manager (Nautilus fork), stable version" +arch=('i686' 'x86_64') +url="https://github.com/linuxmint/nemo" +license=('GPL') +depends=('libexif' 'gvfs' 'dconf' 'desktop-file-utils' 'exempi' 'python2' + 'gnome-desktop' 'gnome-icon-theme' 'libnotify' 'libtracker-sparql') +makedepends=('gtk-doc' 'gobject-introspection' 'intltool' 'gnome-common') +optdepends=('gksu: Open as Root') +provides=('nemo-fm') +replaces=('nemo-fm') +conflicts=('nemo-fm') +options=('!emptydirs' '!libtool') +install=nemo.install +source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxmint/nemo/tarball/$pkgver" + "gnome-autogen.sh") +md5sums=('b348b6e340e055bef3163555b99621bb' + 'a925691c9b57a6a884dcf07da057fd1f') + +build() { + cd linuxmint-nemo-* + + # Get default terminal value + _terminal=$(gsettings get org.gnome.desktop.default-applications.terminal exec | tr -d "'") + + # Set "Open in Terminal" to default terminal (Arch doesn't use x-terminal-emulator) + sed -i "s/x-terminal-emulator/$_terminal/" src/nemo-view.c + + cp ${srcdir}/gnome-autogen.sh . + sed -i 's/\ --warn-all\ --warn-error//' src/Makefile.am + sed -i 's/gnome-autogen.sh/.\/gnome-autogen.sh/g' autogen.sh + chmod +x gnome-autogen.sh + + ./autogen.sh --prefix=/usr --sysconfdir=/etc \ + --localstatedir=/var --disable-static \ + --libexecdir=/usr/lib/nemo \ + --disable-nst-extension \ + --disable-update-mimedb \ + --disable-packagekit \ + --disable-gtk-doc-html \ + --disable-schemas-compile + make +} + +package() { + cd linuxmint-nemo-* + + make DESTDIR="$pkgdir/" install + + # Python2 fix + sed -i 's/bin\/python/bin\/python2/g' "${pkgdir}/usr/share/nemo/actions/myaction.py" +} -- cgit v1.2.3-54-g00ecf