summaryrefslogtreecommitdiffstats
path: root/abs/core/dash/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/dash/PKGBUILD')
-rw-r--r--abs/core/dash/PKGBUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/abs/core/dash/PKGBUILD b/abs/core/dash/PKGBUILD
new file mode 100644
index 0000000..eccfe5c
--- /dev/null
+++ b/abs/core/dash/PKGBUILD
@@ -0,0 +1,29 @@
+# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
+# Maintainer: Dan McGee <dan@archlinux.org>
+
+pkgname=dash
+pkgver=0.5.4
+pkgrel=13
+pkgdesc="A POSIX compliant shell that aims to be as small as possible"
+arch=('i686' 'x86_64')
+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=('bc457e490a589d2f87f2333616b67931')
+
+build() {
+ cd $startdir/src/$pkgname-$pkgver
+ ./configure --prefix=/usr --mandir=/usr/share/man --exec-prefix="" CC=klcc LD=klcc LDFLAGS="-static"
+ make || return 1
+ make DESTDIR=$startdir/pkg install || return 1
+
+ # license
+ install -m644 -D COPYING $startdir/pkg/usr/share/licenses/$pkgname/COPYING
+
+ #static dash is our default /bin/sh
+ #cd ${startdir}/pkg/bin
+ #ln -s dash sh
+}