* add librttopo

This commit is contained in:
Alexander Baldeck 2021-05-06 10:59:36 +02:00
parent 774bc5005c
commit 8d4b4a5fa5

33
librttopo/PKGBUILD Normal file
View File

@ -0,0 +1,33 @@
# POWER Maintainer: Alexander Baldeck <alex.bldck@gmail.com>
# Maintainer: Jaroslav Lichtblau <svetlemodry@archlinux.org>
# Contributor: Samuel Fernando Mesa <samuelmesa dot linuxmail.org>
pkgname=librttopo
pkgver=1.1.0
pkgrel=3
pkgdesc="RT Topology Library"
arch=(x86_64 powerpc64le powerpc)
url="https://git.osgeo.org/gitea/rttopo/librttopo"
license=('GPL2')
depends=('geos')
source=(https://git.osgeo.org/gitea/rttopo/$pkgname/archive/$pkgname-$pkgver.tar.gz)
sha256sums=('2e2fcabb48193a712a6c76ac9a9be2a53f82e32f91a2bc834d9f1b4fa9cd879f')
prepare() {
cd "${srcdir}"/$pkgname
./autogen.sh
}
build() {
cd "${srcdir}"/$pkgname
./configure --prefix=/usr
make
}
package() {
cd "${srcdir}"/$pkgname
make DESTDIR="${pkgdir}" install
}