summaryrefslogtreecommitdiffstats
path: root/abs/not_built/core/dash/PKGBUILD
blob: b4d3c8080e33713fb368e1d3741190c9568a0e29 (plain)
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
# $Id: PKGBUILD 81892 2010-06-06 21:30:28Z dan $
# Maintainer: Dan McGee <dan@archlinux.org>

pkgname=dash
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')
depends=('glibc')
#provides=('sh')
source=("http://gondor.apana.org.au/~herbert/dash/files/dash-$pkgver.tar.gz")
md5sums=('1c846f4f5a33c0050b2045a6f7037e56')

build() {
  cd $srcdir/$pkgname-$pkgver
  ./configure --prefix=/usr --mandir=/usr/share/man --exec-prefix=""
  make || return 1
}
package() {
  cd $srcdir/$pkgname-$pkgver
  make DESTDIR=$pkgdir install || return 1

  # license
  install -m644 -D COPYING $pkgdir/usr/share/licenses/$pkgname/COPYING

  # dash is our default /bin/sh
  #cd $pkgdir/bin
  #ln -s dash sh
}