blob: 028c1a0f6a4da6bd444d8f1393bd18d6c9ea830d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# Maintainer: Laurent Bercot <ska-adelie@skarnet.org>
pkgname=execline
pkgver=2.9.7.0
pkgrel=0
pkgdesc="A small scripting language for non-interactive scripts"
url="https://skarnet.org/software/execline/"
arch="all"
options="!check" # No test suite.
license="ISC"
_skalibs_version=2.14.4
depends_dev="skalibs-dev>=$_skalibs_version"
makedepends="$depends_dev"
subpackages="$pkgname-libs $pkgname-dev $pkgname-doc"
source="https://skarnet.org/software/$pkgname/$pkgname-$pkgver.tar.gz"
build() {
./configure \
--enable-shared \
--with-pkgconfig \
--enable-pkgconfig \
--enable-static-libc \
--enable-pedantic-posix
make
}
package() {
make DESTDIR="$pkgdir" install
mkdir -p -m 0755 "$pkgdir/usr/share/doc" "$pkgdir/usr/bin"
cp -a "$builddir/doc" "$pkgdir/usr/share/doc/$pkgname"
ln -s ../../bin/execlineb "$pkgdir/usr/bin/execlineb"
}
sha512sums="c46aa4954a560610074a5a4f8cecc1512bab05b40739c4dddc74881edb30468f248fc08ca1a461ec66279fa43fa25d130b339790995fb1eeb1612a13dc479ac1 execline-2.9.7.0.tar.gz"
|