mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
29 lines
791 B
Bash
29 lines
791 B
Bash
# Maintainer: Mike Staszel <mikestaszel@openpogo.com>
|
|
|
|
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 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="" \
|
|
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
|
|
}
|