1 # $Id: PKGBUILD 9945 2008-08-21 02:21:01Z eric $
2 # Maintainer: kevin <kevin@archlinux.org>
3 # Contributor: Tom Newsom <Jeepster@gmx.co.uk>
4 # Contributor: muflax <muflax@gmail.com>
9 pkgdesc="Stand-alone shell with many commands but does not require glibc"
12 install=${pkgname}.install
13 source=(http://www.canb.auug.org.au/~dbell/programs/${pkgname}-${pkgver}.tar.gz
14 sash-3.7-add-fs-include.patch)
15 url="http://www.canb.auug.org.au/~dbell/"
16 md5sums=('ee7c7ed5aad76599974d016a6f201ef4'
17 '204582446e244fd6edaa80391c507f83')
20 cd ${startdir}/src/${pkgname}-${pkgver}
21 patch -Np1 -i ../sash-3.7-add-fs-include.patch
22 /usr/bin/make || return 1
23 /bin/mkdir -p ${startdir}/pkg/bin ${startdir}/pkg/usr/share/man/man1
24 /usr/bin/make BINDIR=${startdir}/pkg/bin MANDIR=${startdir}/pkg/usr/share/man/man1 install || return 1
26 # Only license mentioned is in the *.c files.
27 install -d ${startdir}/pkg/usr/share/licenses/${pkgname}
28 sed -n '1,\%^ \*/$% p' sash.c \
29 >${startdir}/pkg/usr/share/licenses/${pkgname}/license.txt
31 # vim: ts=2 sw=2 et ft=sh