PKGBUILDs/core/dash/PKGBUILD

31 lines
846 B
Bash
Raw Normal View History

2009-10-10 02:17:35 +00:00
# $Id: PKGBUILD 31190 2009-03-25 02:19:41Z dan $
# Maintainer: Dan McGee <dan@archlinux.org>
pkgname=dash
pkgver=0.5.5.1
pkgrel=2
pkgdesc="A POSIX compliant shell that aims to be as small as possible"
arch=('i686' 'x86_64')
url="http://gondor.apana.org.au/~herbert/dash/"
license=('BSD')
groups=('base')
makedepends=('klibc>=1.5')
#provides=('sh')
source=("http://gondor.apana.org.au/~herbert/dash/files/dash-$pkgver.tar.gz")
md5sums=('7ac832b440b91f5a52cf8eb68e172616')
build() {
cd $srcdir/$pkgname-$pkgver
./configure --prefix=/usr --mandir=/usr/share/man --exec-prefix="" \
CC=klcc LD=klcc LDFLAGS="-static"
make || return 1
make DESTDIR=$pkgdir install || return 1
# license
install -m644 -D COPYING $pkgdir/usr/share/licenses/$pkgname/COPYING
#static dash is our default /bin/sh
#cd $pkgdir/bin
#ln -s dash sh
}