pkgrel=3, added custom GEOS libraries as per drakkan AUR comment

This commit is contained in:
Riccardo Berto 2021-12-12 10:35:14 +01:00
parent a79bb26935
commit f4224948fb
No known key found for this signature in database
GPG key ID: D533F3156EA5B343
2 changed files with 6 additions and 2 deletions

View file

@ -1,7 +1,7 @@
pkgbase = cockroachdb-bin pkgbase = cockroachdb-bin
pkgdesc = An open source, survivable, strongly consistent, scale-out SQL database pkgdesc = An open source, survivable, strongly consistent, scale-out SQL database
pkgver = 21.2.2 pkgver = 21.2.2
pkgrel = 2 pkgrel = 3
url = https://www.cockroachlabs.com url = https://www.cockroachlabs.com
arch = x86_64 arch = x86_64
license = Apache license = Apache

View file

@ -8,7 +8,7 @@
pkgname=cockroachdb-bin pkgname=cockroachdb-bin
pkgver=21.2.2 pkgver=21.2.2
pkgrel=2 pkgrel=3
pkgdesc='An open source, survivable, strongly consistent, scale-out SQL database' pkgdesc='An open source, survivable, strongly consistent, scale-out SQL database'
arch=('x86_64') arch=('x86_64')
url='https://www.cockroachlabs.com' url='https://www.cockroachlabs.com'
@ -61,4 +61,8 @@ package() {
# licenses # licenses
install -Dm644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" install -Dm644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
# GEOS libraries (see: https://www.cockroachlabs.com/docs/stable/install-cockroachdb-linux.html)
install -Dm644 "${srcdir}/cockroach-v${pkgver}.linux-amd64/lib/libgeos.so" "${pkgdir}/usr/local/lib/cockroach/libgeos.so"
install -Dm644 "${srcdir}/cockroach-v${pkgver}.linux-amd64/lib/libgeos_c.so" "${pkgdir}/usr/local/lib/cockroach/libgeos_c.so"
} }