1 # Contributor: Alexander Rampp <alex@axgr.de>
5 pkgdesc="Notes-mode is an indexing system for on-line note-taking in Emacs"
7 url="http://www.isi.edu/~johnh/SOFTWARE/NOTES_MODE/"
9 depends=('emacs>=19' 'perl>=5')
10 source=(http://www.isi.edu/~johnh/SOFTWARE/NOTES_MODE/$pkgname-$pkgver.tar.gz)
11 install='notes-mode.install'
12 md5sums=('35e033e7d33721e8fe2f89f226147321')
17 cd "$srcdir/$pkgname-$pkgver"
19 ./configure --prefix="$pkgdir/usr" \
20 --with-lisp-dir="${pkgdir}/usr/share/emacs/site-lisp" \
23 make DESTDIR="$pkgdir" install || return 1
25 install -m755 -D "$pkgdir/usr/share/notes-mode/notesinit" "$pkgdir/usr/bin/notesinit"
27 rm "$pkgdir/usr/share/info/dir"
28 # If umask is set too tight, make install gives wrong permissions for
29 # some files. That is because cp is used in the makefile.
30 install -m644 README release "$pkgdir/usr/share/notes-mode"
31 install -m755 sample.notesrc "$pkgdir/usr/share/notes-mode"
32 install -m644 notes-mode.info "$pkgdir/usr/share/info/notes-mode"
33 gzip -9nf "$pkgdir/usr/share/info/notes-mode"