blob: 4733a9763480e303a2ca8c7da787f65acd9a46ea (
plain) (
tree)
|
|
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=dash
pkgver=0.5.11.5
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="5387e213820eeb44d812bb4697543023fd4662b51a9ffd52a702810fed8b28d23fbe35a7f371e6686107de9f81902eff109458964b4622f4c5412d60190a66bf dash-0.5.11.5.tar.gz"
|