diff options
Diffstat (limited to 'main/execline')
-rw-r--r-- | main/execline/APKBUILD | 37 |
1 files changed, 11 insertions, 26 deletions
diff --git a/main/execline/APKBUILD b/main/execline/APKBUILD index 02306b6c93..b913623fdb 100644 --- a/main/execline/APKBUILD +++ b/main/execline/APKBUILD @@ -1,53 +1,38 @@ # Maintainer: Laurent Bercot <ska-devel@skarnet.org> # Contributor: John Regan <john@jrjrtech.com> pkgname=execline -pkgver=2.2.0.0 -pkgrel=1 +pkgver=2.3.0.0 +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" -depends="skalibs" -depends_dev="skalibs-dev" +options="!check" makedepends="skalibs-dev" -install="" subpackages="$pkgname-dev $pkgname-doc" source="http://skarnet.org/software/$pkgname/$pkgname-$pkgver.tar.gz" - -_builddir="$srcdir/$pkgname-$pkgver" -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} +builddir="$srcdir/$pkgname-$pkgver" build() { - cd "$_builddir" + cd "$builddir" ./configure \ --enable-shared \ --enable-static \ --disable-allstatic \ --libdir=/usr/lib \ - --with-dynlib=/lib \ - || return 1 - make || return 1 + --with-dynlib=/lib + make } package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 + cd "$builddir" + make DESTDIR="$pkgdir" install } doc() { default_doc mkdir -p "$subpkgdir/usr/share/doc" - cp -a "$_builddir/doc" "$subpkgdir/usr/share/doc/$pkgname" + cp -a "$builddir/doc" "$subpkgdir/usr/share/doc/$pkgname" } -md5sums="8dc0f40cdbbabd7915e9e7b95544d13e execline-2.2.0.0.tar.gz" -sha256sums="93bd744f2e3ad204cb89f147efdc6ca4e622f9c6bfc9895e0b2cb8b0480029de execline-2.2.0.0.tar.gz" -sha512sums="0174bd46c231684f78b7ea2f6f85776b9edf780d1ae928fcaf0eda3ade46fa60666c17af4480fd37179461b622a069221386f229c777fd214b5abe70e7f58a19 execline-2.2.0.0.tar.gz" +sha512sums="d8bd3420366d2e81e8bcbd644f235fc50e32a83d8e25989cf12f4b4c03bf553e0c356311ef185f98e03887ad65fd75a12ec4746ac832e72aeb023016d91f36c1 execline-2.3.0.0.tar.gz" |