blob: 66092b559fc58c37b6e927b6b0de28697ec5bdbf (
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
35
36
37
|
# Maintainer: Schrottfresse <schrottfresse@gmx.de>
pkgname=libspatialindex-git
pkgver=r500.e4a15b6
pkgrel=2
pkgdesc="C++ implementation of R*-tree, an MVR-tree and a TPR-tree with C API "
arch=('i686' 'x86_64')
url="http://libspatialindex.github.com/"
license=('GPL')
depends=('gcc-libs')
makedepends=('git' 'gtest')
provides=('libspatialindex')
conflicts=('libspatialindex')
source=('git+https://github.com/libspatialindex/libspatialindex.git')
md5sums=('SKIP')
_gitname=libspatialindex
pkgver() {
cd $_gitname
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short=7 HEAD)"
}
build() {
cd $_gitname
sed -i -e 's+#!/usr/bin/env python$+#!/usr/bin/env python2+' ./test/gtest/gtest-*/scripts/*.py
./autogen.sh
./configure --prefix=/usr
make
}
package() {
cd $_gitname
make DESTDIR="$pkgdir/" install
}
# vim:set ts=2 sw=2 et:
|