PKGBUILDs/community/geos/PKGBUILD
2020-12-15 15:02:06 +00:00

39 lines
945 B
Bash

# Maintainer: Jaroslav Lichtblau <svetlemodry@archlinux.org>
# Contributor: dibblethewrecker dibblethewrecker.at.jiwe.dot.org
# Contributor: William Rea <sillywilly@gmail.com>
# Contributor: Alexander Rødseth <rodseth@gmail.com>
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
# - --disable-inline to fix ARM FTBFS
pkgname=geos
pkgver=3.8.1
pkgrel=1
pkgdesc="C++ port of the Java Topology Suite"
arch=('x86_64')
url="https://trac.osgeo.org/geos/"
license=('LGPL')
depends=('gcc-libs' 'bash')
options=('!emptydirs')
changelog=$pkgname.changelog
source=(https://download.osgeo.org/$pkgname/$pkgname-$pkgver.tar.bz2)
sha256sums=('4258af4308deb9dbb5047379026b4cd9838513627cb943a44e16c40e42ae17f7')
build() {
cd "${srcdir}"/$pkgname-$pkgver
./configure --prefix=/usr --disable-inline
make
}
check() {
cd "${srcdir}"/$pkgname-$pkgver
make check
}
package() {
cd "${srcdir}"/$pkgname-$pkgver
make DESTDIR="${pkgdir}" install
}