summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorPavel Ruzicka2016-11-23 21:08:11 +0100
committerPavel Ruzicka2016-11-23 21:08:11 +0100
commit3c146ed9a06303a177447003c885b9dc818ba338 (patch)
tree564b69fc2937d5fcd1fde19209624916743b4a09
parent3fa2506df2bc6144507a6c3a7cb45771b4eee057 (diff)
downloadaur-3c146ed9a06303a177447003c885b9dc818ba338.tar.gz
Update to 1.46-2
-rw-r--r--.SRCINFO7
-rw-r--r--PKGBUILD4
-rw-r--r--geographiclib.install19
3 files changed, 26 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 053e0a59e6b5..cc2ea2314302 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,10 +1,11 @@
-# Generated by makepkg 5.0.0
-# Thu Feb 18 08:51:35 UTC 2016
+# Generated by mksrcinfo v8
+# Wed Nov 23 20:05:43 UTC 2016
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.46
- pkgrel = 1
+ pkgrel = 2
url = http://geographiclib.sourceforge.net/
+ install = geographiclib.install
arch = i686
arch = x86_64
license = custom
diff --git a/PKGBUILD b/PKGBUILD
index b878d0704845..71c9dce63017 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
pkgname=geographiclib
_pkgname=GeographicLib
pkgver=1.46
-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.net/"
@@ -15,6 +15,8 @@ makedepends=('gcc' 'make' 'cmake')
source=(http://downloads.sourceforge.net/project/geographiclib/distrib/${_pkgname}-${pkgver}.tar.gz)
md5sums=('59acfb8b31a360de2bc49d3905ecb646')
+install=geographiclib.install
+
build() {
cd "${srcdir}/${_pkgname}-${pkgver}"
cmake ./ \
diff --git a/geographiclib.install b/geographiclib.install
new file mode 100644
index 000000000000..56c4568da9ed
--- /dev/null
+++ b/geographiclib.install
@@ -0,0 +1,19 @@
+_info() {
+ echo "----------------------------------------------------------"
+ echo "Data files for GeographicLib (gravity and magnetic models)"
+ echo "can be downloaded by scripts installed in /usr/bin :"
+ echo " geographiclib-get-geoids"
+ echo " geographiclib-get-magnetic"
+ echo "For details see:"
+ echo " http://geographiclib.sourceforge.net/html/gravity.html"
+ echo " http://geographiclib.sourceforge.net/html/magnetic.html"
+ echo "----------------------------------------------------------"
+}
+
+post_install() {
+ _info
+}
+
+post_upgrade() {
+ _info
+}