Skip to content

Instantly share code, notes, and snippets.

@jpcima jpcima/PKGBUILD
Created Mar 3, 2018

Embed
What would you like to do?
python-altgraph 0.15
_name=altgraph
pkgname=python-altgraph
pkgver=0.15
pkgrel=1
pkgdesc='altgraph is a fork of graphlib: a graph (network) package for constructing graphs'
arch=('any')
url="https://pypi.python.org/pypi/$_name"
license=('MIT')
depends=('python')
makedepends=('python-setuptools')
source=("https://pypi.python.org/packages/ff/e5/c4d83ca50043951eec43449aa74f4aa4fde1695f901dcf9d213efea3abb1/$_name-$pkgver.tar.gz")
sha256sums=('fc28b986a68fde8d3ff0e6d6ba3fbdd2cd562d11d45ef7c7735fbd826c9eec2e')
package() {
cd "$srcdir/$_name-$pkgver"
python setup.py install --root="$pkgdir" --optimize=1 || return 1
install -D -m644 doc/license.rst "$pkgdir"/usr/share/licenses/"$pkgname"/license.rst
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.