updated on Sat Jan 21 20:03:50 UTC 2012
[aur-mirror.git] / dismal / PKGBUILD
blob02585d153366458d55fa1bf0db37923dce4c4142
1 # Contributor: Stefan Husmann <stefan-husmann@t-online.de>
2 pkgname=dismal
3 pkgver=1.4
4 pkgrel=7
5 arch=('i686' 'x86_64')
6 pkgdesc="spreadsheet written in emacs-lisp"
7 url="http://ritter.ist.psu.edu/dismal/dismal.html"
8 license=('GPL2')
9 depends=('emacs')
10 install=dismal.install
11 source=(http://acs.ist.psu.edu/dismal/$pkgname-$pkgver.tar.gz)
12 md5sums=('788bd03650be8034b8dc4a695632d612')
14 build() {
15   cd $srcdir/$pkgname-$pkgver
16 #  sed -i 's+etags+etags.emacs+' Makefile
17   make
18   install -d $pkgdir/usr/share/emacs/site-lisp/dismal
19   install -m 644 *.elc $pkgdir/usr/share/emacs/site-lisp/dismal
20   install -m 644 *.el $pkgdir/usr/share/emacs/site-lisp/dismal
21   makeinfo dismal-manual.tex
22   for _i in dismal.info*
23   do
24     install -Dm644 ${_i} $pkgdir/usr/share/info/${_i}
25   done
26   install -d $pkgdir/usr/bin
27   install -s -m 755 timer.bin $pkgdir/usr/bin