summaryrefslogtreecommitdiff
path: root/core/dash/PKGBUILD
blob: a0cf4bb3c65c0732faada8727360cb877b38532d (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
# $Id: PKGBUILD 105861 2011-01-13 15:23:08Z stephane $
# Maintainer: Dan McGee <dan@archlinux.org>

pkgname=dash
pkgver=0.5.6.1
pkgrel=2
pkgdesc="A POSIX compliant shell that aims to be as small as possible"
arch=('i686' 'x86_64' 'mips64el')
url="http://gondor.apana.org.au/~herbert/dash/"
license=('BSD')
groups=('base')
depends=('glibc')
source=("http://gondor.apana.org.au/~herbert/dash/files/${pkgname}-${pkgver}.tar.gz")
md5sums=('1c846f4f5a33c0050b2045a6f7037e56')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  ./configure --prefix=/usr --mandir=/usr/share/man --exec-prefix=""
  make
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  make DESTDIR="${pkgdir}" install

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