In some cases this will introduce cycles which could likely be cleaned up by only depending on some unix tools instead of the whole autotools. Rebuilding doesn't make much sense at this point since it just adds a subset of base-devel which is still installed by default.
36 lines
961 B
Bash
36 lines
961 B
Bash
# Maintainer: Alexey Pavlov <alexpux@gmail.com>
|
|
|
|
pkgname=dash
|
|
pkgver=0.5.11.5
|
|
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')
|
|
depends=('grep' 'sed' 'filesystem')
|
|
makedepends=('autotools')
|
|
install=dash.install
|
|
source=("http://gondor.apana.org.au/~herbert/dash/files/${pkgname}-${pkgver}.tar.gz")
|
|
sha256sums=('db778110891f7937985f29bf23410fe1c5d669502760f584e54e0e7b29e123bd')
|
|
|
|
build() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
./configure --prefix=/usr \
|
|
--bindir=/usr/bin \
|
|
--mandir=/usr/share/man \
|
|
--exec-prefix="" \
|
|
CFLAGS='-O2 -static-libgcc'
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
make DESTDIR="${pkgdir}" install
|
|
|
|
# license
|
|
install -m644 -D COPYING ${pkgdir}/usr/share/licenses/${pkgname}/COPYING
|
|
|
|
ln -s ${pkgdir}/usr/bin/{d,}ash.exe
|
|
ln -s ${pkgdir}/usr/share/man/man1/{d,}ash.1
|
|
}
|