# Maintainer: Laurent Bercot # Contributor: John Regan pkgname=execline pkgver=2.6.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-static $pkgname-dev $pkgname-doc" source="http://skarnet.org/software/execline/execline-$pkgver.tar.gz" build() { ./configure \ --enable-shared \ --enable-static \ --disable-allstatic \ --libdir=/usr/lib \ --with-dynlib=/lib make } package() { make DESTDIR="$pkgdir" install } doc() { default_doc mkdir -p "$subpkgdir/usr/share/doc" cp -a "$builddir/doc" "$subpkgdir/usr/share/doc/$pkgname" } static() { default_static rmdir -p "$pkgdir"/usr/lib || : } sha512sums="2d9013bd500a4ebc9cb4c39eea2fc00ddad7aed889cd5dafe45787117fdac9549642c5fede31370bc4b3f12f4a08ba8438ebcc9b05222a7eb3dc5a82a1bd8a25 execline-2.6.0.1.tar.gz"