37 lines
1.1 KiB
Text
37 lines
1.1 KiB
Text
# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
|
|
# Contributor: Dan McGee <dan@archlinux.org>
|
|
|
|
pkgname=dash
|
|
pkgver=0.5.12
|
|
pkgrel=1
|
|
pkgdesc='POSIX compliant shell that aims to be as small as possible'
|
|
url='http://gondor.apana.org.au/~herbert/dash/'
|
|
arch=('x86_64')
|
|
license=('BSD')
|
|
depends=('glibc' 'libedit' 'libedit.so')
|
|
install=dash.install
|
|
source=(https://git.kernel.org/pub/scm/utils/dash/dash.git/snapshot/${pkgname}-${pkgver}.tar.gz)
|
|
sha512sums=('a5d2347465c0bad09a2921ecb55fb4e7fe451d627ed43c1da82b92259b539857c7a7f153dfee73cea4befcbb34388bb3585845148631262dfe6dec87390f049c')
|
|
b2sums=('e0751946fa3b6d513901cc98f3f39a48013f624b9a8ffd699e849456604b856866bd6da268560e6ffa9ec5b91976930d830297031804fdcbab82a953720ee973')
|
|
|
|
prepare() {
|
|
cd ${pkgname}-${pkgver}
|
|
autoreconf -fiv
|
|
}
|
|
|
|
build() {
|
|
cd ${pkgname}-${pkgver}
|
|
./configure \
|
|
--prefix=/usr \
|
|
--bindir=/usr/bin \
|
|
--mandir=/usr/share/man \
|
|
--exec-prefix="" \
|
|
--with-libedit
|
|
make V=1
|
|
}
|
|
|
|
package() {
|
|
cd ${pkgname}-${pkgver}
|
|
make DESTDIR="${pkgdir}" install
|
|
install -Dm 644 COPYING -t "${pkgdir}/usr/share/licenses/${pkgname}"
|
|
}
|