updated on Tue Jan 17 12:00:36 UTC 2012
[aur-mirror.git] / nemo / PKGBUILD
blob443841324a9506a05f0fc34ef84b6b38a1cf915c
1 # Contributor: Dejan Čabrilo <dcabrilo@gmail.com>
2 pkgname=nemo
3 pkgver=0.2.4
4 pkgrel=1
5 pkgdesc="A label and calendar-based file manager."
6 arch=('i686' 'x86_64')
7 url="http://www.iola.dk/nemo/"
8 license=('LGPL')
9 depends=('mono' 'gtk-sharp-2' 'gnome-sharp' 'ndesk-dbus')
10 makedepends=('ndesk-dbus-glib')
11 optdepends=('tracker: one of two indexing backends supported by nemo, install at least one!' 'beagle: one of two indexing backends supported by nemo, install at least one!')
12 source=("http://www.iola.dk/nemo/downloads/$pkgname-$pkgver.tar.bz2")
13 md5sums=('8d1773e299f6bcd391696279b3262719')
15 build() {
16   cd $startdir/src/$pkgname-$pkgver
18   # Makefile in po/ specifies wrong full path to install
19   sed -i -e 's/\/usr\/bin\/install/install/' po/Makefile
20   sed -i -e 's/\/usr\/lib\/cli\/ndesk/\/usr\/lib\/mono\/ndesk/g' Makefile
21   MONO_SHARED_DIR=$startdir/src/ make || return 1
22   make DESTDIR=$startdir/pkg install || return 1
24   # Let's move nemo.exe to /usr/lib/nemo/bin because it is
25   #   useless to us in /usr/bin (can't and shouldn't be executed without 
26   #   the wrapper script, so no place in PATH)
27   mkdir -pv $startdir/pkg/usr/lib/$pkgname/bin
28   mv -v $startdir/pkg/usr/bin/nemo.exe $startdir/pkg/usr/lib/$pkgname/bin/nemo.exe
29   sed -i -e 's/bin\/nemo.exe/lib\/nemo\/\0/' $startdir/pkg/usr/bin/nemo