mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 13:27:09 +02:00
30 lines
833 B
Plaintext
30 lines
833 B
Plaintext
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
|
|
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
|
|
pkgname=libre2
|
|
_pkgname=re2
|
|
pkgver=2018.02.01
|
|
_pkgver=${pkgver//./-}
|
|
pkgrel=0
|
|
pkgdesc="an efficient, principled regular expression library"
|
|
url="https://github.com/google/re2"
|
|
arch="all"
|
|
license="custom"
|
|
options="!check"
|
|
subpackages="$pkgname-dev $pkgname-doc"
|
|
source="https://github.com/google/$_pkgname/archive/$_pkgver.tar.gz"
|
|
builddir="$srcdir"/$_pkgname-$_pkgver
|
|
|
|
build() {
|
|
cd "$builddir"
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "$builddir"
|
|
make DESTDIR="$pkgdir" prefix=/usr install
|
|
install -Dm644 LICENSE \
|
|
"$pkgdir"/usr/share/licenses/$pkgname/LICENSE
|
|
}
|
|
|
|
sha512sums="5f589d0a2200668495097bd22e38771ffc2d731be2c11502d5c151d6ca1ba40bdf96a75a0cf7d9f14788179cc8ae1138346a838b66e257fc1d9df0dbcc1d1b52 2018-02-01.tar.gz"
|