updated on Wed Jan 25 00:20:47 UTC 2012
[aur-mirror.git] / shapely / PKGBUILD
blobbad6b20fc708f7ede0f09f2d08ccf26a515259e2
1 # Contributor: Joseph Xu <josephzxu@gmail.com>
2 pkgname=shapely
3 pkgver=1.2.8
4 pkgrel=1
5 pkgdesc="A package for creation, manipulation, and analysis of planar geometries"
6 arch=('i686' 'x86_64')
7 url='http://trac.gispython.org/lab/wiki/Shapely'
8 license=('custom')
9 depends=('python2>=2.5' 'geos')
10 makedepends=('gcc' 'python2-distribute')
11 source=("http://gispython.org/dist/Shapely-$pkgver.tar.gz")
12 md5sums=('241374c66b3ddfabeeedfbc2add4dc94')
14 build() {
15         cd $srcdir/Shapely-$pkgver
16         python2 setup.py install --root=$pkgdir
17         mkdir -p $pkgdir/usr/share/licenses/shapely
18         cp LICENSE.txt $pkgdir/usr/share/licenses/shapely/LICENSE
19         
20         # don't want to install these demos
21         rm -rf $pkgdir/usr/bin