From f7668d729237421f75dc61cc59981b5d682859e2 Mon Sep 17 00:00:00 2001 From: Michael Hanson Date: Wed, 24 Nov 2010 02:42:55 +0000 Subject: dash: upgrade --- abs/core/dash/PKGBUILD | 25 ++++++++++++++----------- 1 file changed, 14 insertions(+), 11 deletions(-) diff --git a/abs/core/dash/PKGBUILD b/abs/core/dash/PKGBUILD index eccfe5c..b4d3c80 100644 --- a/abs/core/dash/PKGBUILD +++ b/abs/core/dash/PKGBUILD @@ -1,29 +1,32 @@ -# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $ +# $Id: PKGBUILD 81892 2010-06-06 21:30:28Z dan $ # Maintainer: Dan McGee pkgname=dash -pkgver=0.5.4 -pkgrel=13 +pkgver=0.5.6.1 +pkgrel=1 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') +depends=('glibc') #provides=('sh') source=("http://gondor.apana.org.au/~herbert/dash/files/dash-$pkgver.tar.gz") -md5sums=('bc457e490a589d2f87f2333616b67931') +md5sums=('1c846f4f5a33c0050b2045a6f7037e56') build() { - cd $startdir/src/$pkgname-$pkgver - ./configure --prefix=/usr --mandir=/usr/share/man --exec-prefix="" CC=klcc LD=klcc LDFLAGS="-static" + cd $srcdir/$pkgname-$pkgver + ./configure --prefix=/usr --mandir=/usr/share/man --exec-prefix="" make || return 1 - make DESTDIR=$startdir/pkg install || return 1 +} +package() { + cd $srcdir/$pkgname-$pkgver + make DESTDIR=$pkgdir install || return 1 # license - install -m644 -D COPYING $startdir/pkg/usr/share/licenses/$pkgname/COPYING + install -m644 -D COPYING $pkgdir/usr/share/licenses/$pkgname/COPYING - #static dash is our default /bin/sh - #cd ${startdir}/pkg/bin + # dash is our default /bin/sh + #cd $pkgdir/bin #ln -s dash sh } -- cgit v0.12