updated on Thu Jan 12 04:00:44 UTC 2012
[aur-mirror.git] / sash / PKGBUILD
blob6fc4f885a4f94a4575089daa39ccea8c8435302b
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>
6 pkgname=sash
7 pkgver=3.7
8 pkgrel=5
9 pkgdesc="Stand-alone shell with many commands but does not require glibc"
10 arch=(i686 x86_64)
11 license=('custom')
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')
19 build() {
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