Skip to content

Instantly share code, notes, and snippets.

@davidovitch
Created September 30, 2013 19:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save davidovitch/6768982 to your computer and use it in GitHub Desktop.
Save davidovitch/6768982 to your computer and use it in GitHub Desktop.
Arch Linux PKGBUILD for python2-shapely
pkgname=python2-shapely
pkgver=1.2.18
pkgrel=1
pkgdesc="Geometric objects, predicates, and operations"
arch=('i686' 'x86_64')
url="https://pypi.python.org/pypi/Shapely"
license=('BSD')
depends=('python2' 'geos')
makedepends=('gcc')
optdepends=()
source=("https://pypi.python.org/packages/source/S/Shapely/Shapely-${pkgver}.tar.gz")
md5sums=('53ad33214886e729b2d0de488eb9f115')
package() {
cd "$srcdir"/Shapely-$pkgver
python2 setup.py install --prefix=/usr --root="$pkgdir"
install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment