main/libedit: add tests, fix description

This commit is contained in:
A. Wilcox 2017-09-03 15:42:40 -05:00 committed by Natanael Copa
parent 3f4c818400
commit 18e8f16342

View File

@ -3,8 +3,8 @@
pkgname=libedit pkgname=libedit
pkgver=20170329.3.1 pkgver=20170329.3.1
_ver=${pkgver/./-} _ver=${pkgver/./-}
pkgrel=2 pkgrel=3
pkgdesc="netbsd line editing library" pkgdesc="BSD line editing library"
url="http://www.thrysoee.dk/editline/" url="http://www.thrysoee.dk/editline/"
arch="all" arch="all"
license="BSD" license="BSD"
@ -30,6 +30,11 @@ build() {
make make
} }
check() {
cd "$builddir"
make check
}
package() { package() {
cd "$builddir" cd "$builddir"
make DESTDIR="$pkgdir" install make DESTDIR="$pkgdir" install