sbcl rebuild
[arch-packages.git] / re2 / trunk / PKGBUILD
blob621ecd05f7f4f22dadeb0e97d95d3f2972919caa
1 # Maintainer: Evangelos Foutras <evangelos@foutrelis.com>
2 # Contributor: Anatol Pomozov <anatol.pomozov@gmail.com>
3 # Contributor: Gustavo Alvarez <sl1pkn07@gmail.com>
4 # Contributor: Alexandre Bique <bique.alexandre@gmail.com>
6 pkgname=re2
7 _re2ver=2022-06-01
8 pkgrel=1
9 epoch=1
10 pkgver=${_re2ver//-}
11 pkgdesc="Fast, safe, thread-friendly regular expression engine"
12 arch=('x86_64')
13 url="https://github.com/google/re2"
14 license=('BSD')
15 depends=('gcc-libs')
16 options=('debug')
17 source=(re2-$pkgver.tar.gz::https://github.com/google/re2/archive/$_re2ver.tar.gz)
18 sha256sums=('f89c61410a072e5cbcf8c27e3a778da7d6fd2f2b5b1445cd4f4508bee946ab0f')
20 build() {
21   cd $pkgname-$_re2ver
22   make
25 check() {
26   cd $pkgname-$_re2ver
27   make test
30 package() {
31   cd $pkgname-$_re2ver
32   make prefix=/usr DESTDIR="$pkgdir" install
33   install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"