mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 21:37:15 +02:00
community/libre2: add check
This commit is contained in:
parent
5911cfc975
commit
037b7eed5f
@ -9,7 +9,6 @@ pkgdesc="Efficient, principled regular expression library"
|
|||||||
url="https://github.com/google/re2"
|
url="https://github.com/google/re2"
|
||||||
arch="all"
|
arch="all"
|
||||||
license="BSD-3-Clause"
|
license="BSD-3-Clause"
|
||||||
options="!check"
|
|
||||||
subpackages="$pkgname-dev $pkgname-doc"
|
subpackages="$pkgname-dev $pkgname-doc"
|
||||||
source="https://github.com/google/$_pkgname/archive/$_pkgver.tar.gz"
|
source="https://github.com/google/$_pkgname/archive/$_pkgver.tar.gz"
|
||||||
builddir="$srcdir"/$_pkgname-$_pkgver
|
builddir="$srcdir"/$_pkgname-$_pkgver
|
||||||
@ -19,6 +18,11 @@ build() {
|
|||||||
make
|
make
|
||||||
}
|
}
|
||||||
|
|
||||||
|
check() {
|
||||||
|
cd "$builddir"
|
||||||
|
make test
|
||||||
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd "$builddir"
|
cd "$builddir"
|
||||||
make DESTDIR="$pkgdir" prefix=/usr install
|
make DESTDIR="$pkgdir" prefix=/usr install
|
||||||
|
Loading…
Reference in New Issue
Block a user