summaryrefslogtreecommitdiff
path: root/community/nemo/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/nemo/PKGBUILD')
-rw-r--r--community/nemo/PKGBUILD51
1 files changed, 51 insertions, 0 deletions
diff --git a/community/nemo/PKGBUILD b/community/nemo/PKGBUILD
new file mode 100644
index 000000000..5c3cab47f
--- /dev/null
+++ b/community/nemo/PKGBUILD
@@ -0,0 +1,51 @@
+# $Id: PKGBUILD 94000 2013-07-12 22:37:49Z faidoc $
+# Maintainer: Alexandre Filgueira <alexfilgueira@cinnarch.com>
+# Contributor: Ner0
+
+pkgname=nemo
+pkgver=1.8.4
+pkgrel=1
+pkgdesc="Cinnamon file manager (Nautilus fork)"
+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')
+options=('!emptydirs' '!libtool')
+install=nemo.install
+source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxmint/nemo/tarball/$pkgver"
+ "tracker-0.16.patch"
+ "remove-desktop-background.patch")
+sha256sums=('c8805302144c1aba72707eed22501cdd4f008a4c4090dea94fde5c05cd6c25f6'
+ '2b86f486add84e3affb0b14eb84425443e7cf5e593738d10d02e9c2ac0f17626'
+ '0bd07fd931ad701442358cdcbd26e0c5d57717ffadfd39a1cba137e36def1aa5')
+
+build() {
+ cd linuxmint-nemo-*
+
+ # Python2 fix
+ sed -i 's/bin\/python/bin\/python2/g' files/usr/share/nemo/actions/myaction.py
+
+ # https://github.com/linuxmint/nemo/pull/258
+ patch -Np1 -i ../tracker-0.16.patch
+
+ # https://github.com/linuxmint/nemo/pull/263
+ patch -Np1 -i ../remove-desktop-background.patch
+
+ ./autogen.sh --prefix=/usr --sysconfdir=/etc \
+ --localstatedir=/var --disable-static \
+ --libexecdir=/usr/lib/nemo \
+ --disable-update-mimedb \
+ --disable-packagekit \
+ --disable-gtk-doc-html \
+ --disable-schemas-compile
+ make
+}
+
+package() {
+ cd linuxmint-nemo-*
+
+ make DESTDIR="$pkgdir/" install
+}