blob: 4216067688e25f7ce9563d8749fbe25a8b2c41a6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=re2
pkgver=2019.06.01
_pkgver=${pkgver//./-}
pkgrel=0
pkgdesc="Efficient, principled regular expression library"
url="https://github.com/google/re2"
arch="all"
license="BSD-3-Clause"
subpackages="$pkgname-dev"
provides="libre2"
source="$pkgname-$pkgver.tar.gz::https://github.com/google/$pkgname/archive/$_pkgver.tar.gz"
builddir="$srcdir"/$pkgname-$_pkgver
build() {
make
}
check() {
make test
}
package() {
make DESTDIR="$pkgdir" prefix=/usr install
}
sha512sums="ba7e4c605625b5d0f3fad3df2d23b6b820d107dfb606157df7ec35820c25be1057b9c1320358594e59e003ee0eb83d3b31b7328ad47a1dd6c24a119590c268e3 re2-2019.06.01.tar.gz"
|