summaryrefslogtreecommitdiff
path: root/core/dash/MAKEPKG
diff options
context:
space:
mode:
Diffstat (limited to 'core/dash/MAKEPKG')
-rw-r--r--core/dash/MAKEPKG38
1 files changed, 38 insertions, 0 deletions
diff --git a/core/dash/MAKEPKG b/core/dash/MAKEPKG
new file mode 100644
index 0000000..9536146
--- /dev/null
+++ b/core/dash/MAKEPKG
@@ -0,0 +1,38 @@
+#!/bin/mkpkg
+# description: The Almquist shell, a POSIX-compliant /bin/sh implementation
+# url: http://gondor.apana.org.au/~herbert/dash/
+
+name=dash
+version=0.5.13.5
+release=1
+makedeps=(autoconf patch)
+source=(http://gondor.apana.org.au/~herbert/dash/files/$name-$version.tar.gz)
+
+sha256sums=(
+ "40090101a2a491f13e901d3d48e90414f26634628b9bfff35ff540363c227a7d"
+)
+
+build() {
+ export LDFLAGS="-static"
+
+ cd $name-$version
+
+ autoreconf -if
+ ./configure \
+ --prefix=/ \
+ --mandir=/usr/share/man \
+ --enable-static=yes
+
+ make
+ make DESTDIR=$PKG install
+
+ ln -s dash $PKG/bin/sh
+ ln -s dash.1 $PKG/usr/share/man/man1/sh.1
+}
+
+signify() {
+ untrusted comment: public key
+ RWTZ9IduCSQ/mL8337TEUinPwT92xFEUpD92hkS7IxcOnzTt9QdpohT3
+}
+
+# vim: filetype=sh