blob: bf07cc09a7f09775a5c13e72224728b8b5ecbff3 (
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
33
34
|
# Maintainer: Adrian Holfter < aholfter PLUS aur AT googlemail DOT com >
pkgname=libcitygml
pkgver=2.4.1
pkgrel=1
pkgdesc="libcitygml is a small and easy to use open source C++ library for parsing CityGML files in such a way that data can be easily exploited by 3D rendering applications."
arch=('i686' 'x86_64')
url="https://github.com/jklimke/libcitygml"
depends=('glu' 'xerces-c' 'gdal')
makedepends=('cmake')
license=('LGPL')
source=(https://github.com/jklimke/libcitygml/archive/v${pkgver}.tar.gz)
sha1sums=('6ccf76bab6699e555e0170626a0620b8c7b8e5a1')
build() {
cd "$srcdir/${pkgname}-${pkgver}"
cmake -DCMAKE_INSTALL_PREFIX=/usr .
make
}
check() {
cd "$srcdir/${pkgname}-${pkgver}"
bin/citygmltest data/b1_lod2_cs_w_sem.gml
bin/citygmltest data/b1_lod2_s.gml
bin/citygmltest data/berlin_open_data_sample_data.citygml
}
package() {
cd "${pkgname}-${pkgver}"
make DESTDIR="$pkgdir/" install
# remove bin/citygmltest binary
cd $pkgdir
rm -rf usr/bin
}
|