updated on Sun Jan 8 12:02:35 UTC 2012
[aur-mirror.git] / es / PKGBUILD
blobe9ad1feb64a514a56a3ee0533e28c65f82e68af4
1 # Maintainer: Ian Denhardt <ian@zenhack.net>
2 pkgname=es
3 pkgver=0.9_beta1
4 pkgrel=1
5 pkgdesc="A functional shell with rc-inspired syntax"
6 arch=('i686' 'x86_64')
7 url="http://hawkwind.cs.toronto.edu:8001/mlists/es.html"
8 license=(custom)
9 depends=('readline')
10 source=(ftp://ftp.sys.utoronto.ca/pub/$pkgname/$pkgname-0.9-beta1.tar.gz stdlib.patch)
11 md5sums=('1d0f771d94d9d8f958f264f1757b8620' '096928f7457bd2d6500644d2134ec756')
13 build() {
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
18   
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
25   make || 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
31   
34 # vim:set ts=2 sw=2 et: