2015-08-04 20:04:32 +02:00
# Maintainer: Martchus <martchus@gmx.net>
2016-03-25 21:43:59 +01:00
# All my PKGBUILDs are managed at https://github.com/Martchus/PKGBUILDs where
# you also find the URL of a binary repository.
2015-12-02 02:20:30 +01:00
_reponame = geocoordinatecalculator
2015-06-24 23:12:08 +02:00
pkgname = geocoordinatecalculator
2016-03-25 21:43:59 +01:00
pkgver = 1.1.1
2015-12-28 00:22:34 +01:00
pkgrel = 1
2015-06-24 23:12:08 +02:00
arch = ( 'i686' 'x86_64' )
pkgdesc = "Tool for basic calculations with geo coordinates such as format conversions and calculation of distance, bearing, mid point, destination and more."
license = ( 'GPL' )
depends = ( 'c++utilities' )
2015-12-06 19:17:57 +01:00
makedepends = ( 'cmake' )
2015-12-02 02:20:30 +01:00
url = " https://github.com/Martchus/ ${ _reponame } "
source = ( " geocoordinatecalculator- ${ pkgver } .tar.gz::https://github.com/Martchus/ ${ _reponame } /archive/v ${ pkgver } .tar.gz " )
2015-12-28 00:22:34 +01:00
sha256sums = ( '56112c7064086d30652dc0aa4c4d6fc3bbde7fbef4208fde2ea4d176cd7e9e9a' )
2015-06-24 23:12:08 +02:00
build( ) {
2015-12-24 16:50:30 +01:00
cd " $srcdir / ${ PROJECT_DIR_NAME :- $_reponame - $pkgver } "
cmake -DCMAKE_BUILD_TYPE= Release -DCMAKE_INSTALL_PREFIX= " ${ pkgdir } /usr "
make
2015-06-24 23:12:08 +02:00
}
package( ) {
2015-12-24 16:50:30 +01:00
cd " $srcdir / ${ PROJECT_DIR_NAME :- $_reponame - $pkgver } "
make install
2015-06-24 23:12:08 +02:00
}