aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-02-09 19:27:46 -0600
committerWilliam Pitcock <nenolod@dereferenced.org>2018-02-10 02:59:30 +0000
commit60a428a4c1d968e35626e302d12d9c4711100612 (patch)
treeb3e0032d868a871e088338ff548238444df5bb6a
parent8953503d0b2ba78af71d42ecbc264b2fcd48963f (diff)
downloadaports-60a428a4c1d968e35626e302d12d9c4711100612.tar.gz
aports-60a428a4c1d968e35626e302d12d9c4711100612.tar.bz2
aports-60a428a4c1d968e35626e302d12d9c4711100612.tar.xz
main/linenoise: modernise, fix license, mark no tests
-rw-r--r--main/linenoise/APKBUILD26
1 files changed, 6 insertions, 20 deletions
diff --git a/main/linenoise/APKBUILD b/main/linenoise/APKBUILD
index 69fe18ed2f..92443594f2 100644
--- a/main/linenoise/APKBUILD
+++ b/main/linenoise/APKBUILD
@@ -6,7 +6,8 @@ pkgrel=1
pkgdesc="Minimal replacement for readline"
url="https://github.com/antirez/linenoise"
arch="all"
-license="BSD"
+options="!check" # No test suite.
+license="BSD-2-Clause-NetBSD"
depends=""
depends_dev=""
makedepends="$depends_dev"
@@ -16,30 +17,15 @@ source="linenoise-$pkgver.tar.gz::https://github.com/antirez/linenoise/archive/$
build-shared-lib.patch
"
-_builddir="$srcdir"/linenoise-$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
-}
-
build() {
- cd "$_builddir"
- make || return 1
+ cd "$builddir"
+ make
}
package() {
- cd "$_builddir"
- make DESTDIR="$pkgdir" install || return 1
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
}
-md5sums="57c163f6e53bdb5b8f935cafb714ab16 linenoise-1.0.tar.gz
-ad5599c58cb711f34058f0c8d913ebf6 build-shared-lib.patch"
-sha256sums="f5054a4fe120d43d85427cf58af93e56b9bb80389d507a9bec9b75531a340014 linenoise-1.0.tar.gz
-71d2c1678580a8551b7c8c81d8026855c9cec654401355aec9a3ae591ff2aab1 build-shared-lib.patch"
sha512sums="9e68fade8d64d7ba8d5d681e74d0ca6c4ebd9576249bb0e885b1aa708a9af77a43ea6264307ae46fb74e52219387a2c831b570f9601e331837f35294af9883e3 linenoise-1.0.tar.gz
e37fe58f414f48a6a6fcab9925881131d2dbca0c54fe2b17a359d0b5c58ce1e29dad92baa8dc7f7d390af1edace2a75091f20bed5aa381ff2599e734616b2418 build-shared-lib.patch"