summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorPavel Ruzicka2021-02-22 08:30:08 +0100
committerPavel Ruzicka2021-02-22 08:30:08 +0100
commit976c97dcf2c02d02745ba1624c3c7182ffc7b6f9 (patch)
treea2a384a20c9d7354db0a11b6eadf24b37ed8b892
parentc89387c1ee9ccaee2ca3a8b2e9739a6a7bab608d (diff)
downloadaur-976c97dcf2c02d02745ba1624c3c7182ffc7b6f9.tar.gz
Update to 1.51-2
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD6
2 files changed, 5 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 9c0cb9a4893e..a31aab2be1da 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = geographiclib
pkgdesc = Set of C++ classes for conversions between geographic, UTM, UPS, MGRS, geocentric, and local cartesian coordinates, for gravity, geoid height, and geomagnetic field calculations and for solving geodesic problems. Geotrans replacement.
pkgver = 1.51
- pkgrel = 1
+ pkgrel = 2
url = http://geographiclib.sourceforge.io/
install = geographiclib.install
arch = i686
@@ -11,6 +11,7 @@ pkgbase = geographiclib
makedepends = make
makedepends = cmake
depends = bash
+ options = staticlibs
source = http://downloads.sourceforge.net/project/geographiclib/distrib/GeographicLib-1.51.tar.gz
md5sums = d782c8146945ab6bf5836747b2a4b37d
diff --git a/PKGBUILD b/PKGBUILD
index 11b578546868..b8c5d4572f24 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,13 +4,14 @@
pkgname=geographiclib
_pkgname=GeographicLib
pkgver=1.51
-pkgrel=1
+pkgrel=2
pkgdesc="Set of C++ classes for conversions between geographic, UTM, UPS, MGRS, geocentric, and local cartesian coordinates, for gravity, geoid height, and geomagnetic field calculations and for solving geodesic problems. Geotrans replacement."
arch=('i686' 'x86_64')
url="http://geographiclib.sourceforge.io/"
license=('custom') # MIT/X11
depends=('bash')
makedepends=('gcc' 'make' 'cmake')
+options=('staticlibs')
source=(http://downloads.sourceforge.net/project/geographiclib/distrib/${_pkgname}-${pkgver}.tar.gz)
md5sums=('d782c8146945ab6bf5836747b2a4b37d')
@@ -21,8 +22,7 @@ build() {
cd "${srcdir}/${_pkgname}-${pkgver}"
cmake ./ \
-DCMAKE_INSTALL_PREFIX=/usr \
- -DGEOGRAPHICLIB_EXAMPLES=0 \
- -DGEOGRAPHICLIB_DOCUMENTATION=0
+ -DGEOGRAPHICLIB_LIB_TYPE=BOTH
make
}