# Contributor: Laurent Bercot # Maintainer: Laurent Bercot pkgname=execline pkgver=2.5.0.1 pkgrel=2 pkgdesc="A small scripting language for non-interactive scripts" url="http://skarnet.org/software/$pkgname/" arch="all" options="!check" # No test suite. license="ISC" depends_dev="skalibs-dev" makedepends="skalibs-dev>=2.7" subpackages="$pkgname-dev $pkgname-doc" source="https://skarnet.org/software/$pkgname/$pkgname-$pkgver.tar.gz" build() { cd "$builddir" ./configure \ --enable-shared \ --enable-static \ --enable-static-libc \ --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="9e013a83844fc3f5b28c6aea44b446f550dafe52131facf0d7c0648c9ae62c4a62d895f72cedb010754319c0e298fb4c8396d2c6be019cd6218558934bffaea3 execline-2.5.0.1.tar.gz"