# Maintainer: Laurent Bercot # Contributor: John Regan pkgname=execline pkgver=2.3.0.1 pkgrel=0 pkgdesc="A small scripting language, to be used in place of a shell in non-interactive scripts." url="http://skarnet.org/software/$pkgname/" arch="all" license="ISC" options="!check" makedepends="skalibs-dev" subpackages="$pkgname-dev $pkgname-doc" source="http://skarnet.org/software/$pkgname/$pkgname-$pkgver.tar.gz" builddir="$srcdir/$pkgname-$pkgver" build() { cd "$builddir" ./configure \ --enable-shared \ --enable-static \ --disable-allstatic \ --libdir=/usr/lib \ --with-dynlib=/lib make } package() { cd "$builddir" make DESTDIR="$pkgdir" install } doc() { default_doc mkdir -p "$subpkgdir/usr/share/doc" cp -a "$builddir/doc" "$subpkgdir/usr/share/doc/$pkgname" } sha512sums="be72bff29055655275e2da0ed831034158300ff39184822966e35ff9a6c2dea4f7e5fc5e79bda40be91a791cb99ee9accc7cbdeccef3c4489bf2253e0a107365 execline-2.3.0.1.tar.gz"