archrelease: copy trunk to extra-x86_64
[arch-packages.git] / dash / repos / core-x86_64 / PKGBUILD
blob45f0fa448005a1462057d1b1426b70882b67abc3
1 # Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
2 # Contributor: Dan McGee <dan@archlinux.org>
4 pkgname=dash
5 pkgver=0.5.12
6 pkgrel=1
7 pkgdesc='POSIX compliant shell that aims to be as small as possible'
8 url='http://gondor.apana.org.au/~herbert/dash/'
9 arch=('x86_64')
10 license=('BSD')
11 depends=('glibc' 'libedit' 'libedit.so')
12 install=dash.install
13 source=(https://git.kernel.org/pub/scm/utils/dash/dash.git/snapshot/${pkgname}-${pkgver}.tar.gz)
14 sha512sums=('a5d2347465c0bad09a2921ecb55fb4e7fe451d627ed43c1da82b92259b539857c7a7f153dfee73cea4befcbb34388bb3585845148631262dfe6dec87390f049c')
15 b2sums=('e0751946fa3b6d513901cc98f3f39a48013f624b9a8ffd699e849456604b856866bd6da268560e6ffa9ec5b91976930d830297031804fdcbab82a953720ee973')
17 prepare() {
18   cd ${pkgname}-${pkgver}
19   autoreconf -fiv
22 build() {
23   cd ${pkgname}-${pkgver}
24   ./configure \
25     --prefix=/usr \
26     --bindir=/usr/bin \
27     --mandir=/usr/share/man \
28     --exec-prefix="" \
29     --with-libedit
30   make V=1
33 package() {
34   cd ${pkgname}-${pkgver}
35   make DESTDIR="${pkgdir}" install
36   install -Dm 644 COPYING -t "${pkgdir}/usr/share/licenses/${pkgname}"