mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-06 05:47:13 +02:00
community/unibilium: add check
This commit is contained in:
parent
b8e11aff4c
commit
346b1f4abd
@ -2,14 +2,14 @@
|
|||||||
# Maintainer: Marvin Steadfast <marvin@xsteadfastx.org>
|
# Maintainer: Marvin Steadfast <marvin@xsteadfastx.org>
|
||||||
pkgname=unibilium
|
pkgname=unibilium
|
||||||
pkgver=1.2.1
|
pkgver=1.2.1
|
||||||
pkgrel=0
|
pkgrel=1
|
||||||
pkgdesc="A terminfo parsing library"
|
pkgdesc="A terminfo parsing library"
|
||||||
url="https://github.com/mauke/unibilium/"
|
url="https://github.com/mauke/unibilium/"
|
||||||
arch="all"
|
arch="all"
|
||||||
license="LGPL3"
|
license="LGPL3"
|
||||||
depends=""
|
|
||||||
depends_dev="libtool"
|
depends_dev="libtool"
|
||||||
makedepends="$depends_dev"
|
makedepends="$depends_dev"
|
||||||
|
checkdepends="perl-dev"
|
||||||
subpackages="$pkgname-dev $pkgname-doc"
|
subpackages="$pkgname-dev $pkgname-doc"
|
||||||
source="$pkgname-$pkgver.tar.gz::https://github.com/mauke/$pkgname/archive/v$pkgver.tar.gz
|
source="$pkgname-$pkgver.tar.gz::https://github.com/mauke/$pkgname/archive/v$pkgver.tar.gz
|
||||||
build-static-lib.patch"
|
build-static-lib.patch"
|
||||||
@ -20,6 +20,11 @@ build() {
|
|||||||
make PREFIX=/usr
|
make PREFIX=/usr
|
||||||
}
|
}
|
||||||
|
|
||||||
|
check() {
|
||||||
|
cd "$builddir"
|
||||||
|
make test
|
||||||
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd "$builddir"
|
cd "$builddir"
|
||||||
make PREFIX=/usr DESTDIR="$pkgdir" install
|
make PREFIX=/usr DESTDIR="$pkgdir" install
|
||||||
|
Loading…
Reference in New Issue
Block a user