summaryrefslogtreecommitdiff
path: root/librttopo/PKGBUILD
blob: ead2e92136e6ffae6e11dae87af6d5aa2163e139 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Maintainer: Erich Eckner <arch at eckner dot net>
# Contributor: Samuel Fernando Mesa <samuelmesa dot linuxmail.org>

pkgname=librttopo
pkgver=1.1.0
pkgrel=1
pkgdesc="RT Topology Library"
url="https://git.osgeo.org/gitea/rttopo/librttopo"
arch=('x86_64' 'i686' 'pentium4')
license=('GPLv2')
depends=('geos' 'proj')
makedepends=('cmake')
source=("https://git.osgeo.org/gitea/rttopo/librttopo/archive/librttopo-${pkgver}.tar.gz")
md5sums=('0952b78943047ca69a9e6cbef6146869')

build() {
  cd "${srcdir}/${pkgname}"
  
  ./autogen.sh
  ./configure --prefix="/usr"
  make
}

check() {
  cd "${srcdir}/${pkgname}"
  make check
}

package() {
  cd "${srcdir}/${pkgname}"
  make DESTDIR="${pkgdir}" install
}