blob: 06785c7f2a1cff6d284b1fbdc8326fd8967b1256 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=dash
pkgver=0.5.12
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
ulimit-dash-r.patch
posix-dashes.patch
"
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="13bd262be0089260cbd13530a9cf34690c0abeb2f1920eb5e61be7951b716f9f335b86279d425dbfae56cbd49231a8fdffdff70601a5177da3d543be6fc5eb17 dash-0.5.12.tar.gz
84e5bf95c5824d1929d1c10935d0197715277aa29e2481dee03302731c06e97afb953ef6e4f6099a7abfd88fc0a52e3cf38e3d30d497dc3040ed4dc5d9802506 ulimit-dash-r.patch
b0dd2742f58fb17725624aaad25bcef10bf54c1c4ec8237e1d5e45552aceecbc4bcf491f1f7b7b7a2dea4168939b07f7671d706e43d6e148d171cf48b389aa0c posix-dashes.patch"
|