summaryrefslogtreecommitdiff
path: root/testing/dash/PKGBUILD
blob: 50aaf36c0b3d26906f7a19e5d070215730666f0c (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 135041 2011-08-09 23:37:21Z tomegun $
# Maintainer: Dan McGee <dan@archlinux.org>

pkgname=dash
pkgver=0.5.7
pkgrel=2
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')
depends=('glibc')
install=dash.install
source=("http://gondor.apana.org.au/~herbert/dash/files/${pkgname}-${pkgver}.tar.gz")
sha1sums=('a3ebc16f2e2c7ae8adf64e5e62ae3dcb631717c6')

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
}