# Contributor: Natanael Copa # Maintainer: Sheila Aman pkgname=dash pkgver=0.5.11.2 pkgrel=0 pkgdesc="Small and fast POSIX-compliant shell" url="http://gondor.apana.org.au/~herbert/dash/" arch="all" license="GPL-2.0+" depends="" makedepends="" subpackages="$pkgname-binsh::noarch $pkgname-doc" source="http://gondor.apana.org.au/~herbert/$pkgname/files/$pkgname-$pkgver.tar.gz" build() { ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/ \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --localstatedir=/var make } check() { make check ./src/dash -c 'echo ok' } package() { make DESTDIR="$pkgdir" install } binsh() { pkgdesc="Use dash as /bin/sh" depends="dash" provides="/bin/sh" provider_priority=1 mkdir -p "$subpkgdir"/bin ln -s /bin/dash "$subpkgdir"/bin/sh } sha512sums="2f846c26f3722ea3315aae73461f9c21a0a8a9ac712e1caf8dd9993e34729227c7648bf6f72fad8488247986e560298f95aa2411bd4e395410565c0b527b9db4 dash-0.5.11.2.tar.gz"