1 # Maintainer: Ian Denhardt <ian@zenhack.net>
5 pkgdesc="A functional shell with rc-inspired syntax"
7 url="http://hawkwind.cs.toronto.edu:8001/mlists/es.html"
10 source=(ftp://ftp.sys.utoronto.ca/pub/$pkgname/$pkgname-0.9-beta1.tar.gz stdlib.patch)
11 md5sums=('1d0f771d94d9d8f958f264f1757b8620' '096928f7457bd2d6500644d2134ec756')
14 cd $srcdir/$pkgname-0.9-beta1
16 # the "license" (public domain) is at the end of the README.
17 tail -n 7 README > COPYING
19 # allow stdlib.h to be included, so the package actually compiles.
20 patch -Np1 -i $srcdir/stdlib.patch
22 # use readline. it's a dependency of bash, so if you're able to use this PKGBUILD,
23 # you should have it. Not strictly needed for es though, and editline is also supported.
24 ./configure --prefix=/usr --mandir=/usr/share/man --with-readline || return 1
27 # build system doesn't respect DESTDIR, oh well, it's only a few files.
28 install -Dm755 es $pkgdir/usr/bin/es || return 1
29 install -Dm644 es.1 $pkgdir/usr/share/man/man1/es.1 || return 1
30 install -Dm644 COPYING $pkgdir/usr/share/licenses/es/COPYING
34 # vim:set ts=2 sw=2 et: