1 # Contributor: Dejan Čabrilo <dcabrilo@gmail.com>
5 pkgdesc="A label and calendar-based file manager."
7 url="http://www.iola.dk/nemo/"
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')
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