# Contributor: Natanael Copa <ncopa@alpinelinux.org> # Maintainer: pkgname=linenoise pkgver=1.0 pkgrel=3 pkgdesc="Minimal replacement for readline" url="https://github.com/antirez/linenoise" arch="all" options="!check" # No test suite. license="BSD-2-Clause-NetBSD" depends="" makedepends="musl-utils" subpackages="$pkgname-dev" source="linenoise-$pkgver.tar.gz::https://github.com/antirez/linenoise/archive/$pkgver.tar.gz build-shared-lib.patch " build() { make } package() { PATH="/sbin:$PATH" make DESTDIR="$pkgdir" install } sha512sums="9e68fade8d64d7ba8d5d681e74d0ca6c4ebd9576249bb0e885b1aa708a9af77a43ea6264307ae46fb74e52219387a2c831b570f9601e331837f35294af9883e3 linenoise-1.0.tar.gz 2b751a3fad995e7973e4cde01e4c7fce4dcce887564e5b756ae0200e0d5f4870b13f4ab634e9db4d9581c1c0161f36ca954acdb4fbc2bf6497f06840ab260a81 build-shared-lib.patch"