mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
29 lines
787 B
Bash
29 lines
787 B
Bash
# 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=('arm')
|
|
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
|
|
}
|