diff options
author | FFY00 | 2018-06-29 12:32:15 +0100 |
---|---|---|
committer | FFY00 | 2018-06-29 12:32:15 +0100 |
commit | 76e2cc67d347bd878551aeeb80d1a61b3a1ddb81 (patch) | |
tree | 27869368c6b775136582c2dd8a16de1b2261fc0d /PKGBUILD | |
download | aur-76e2cc67d347bd878551aeeb80d1a61b3a1ddb81.tar.gz |
pkgbuild: initial release
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..2ed189a092d3 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,31 @@ +# Maintainer: Filipe LaĆns (FFY00) <filipe.lains@gmail.com> +pkgname=python2-pyipv8-git +pkgver=r417.b3cf77c +pkgrel=1 +pkgdesc="Python implementation of the IPv8 layer" +arch=(any) +url="https://github.com/Tribler/py-ipv8" +license=('Apache') +depends=('python2-cryptography' 'python2-libnacl' 'python2-netifaces' 'python2-networkx' 'python2-twisted' 'python2-pyopenssl') +makedepends=('git') +provides=('python2-pyipv8') +conflicts=('python2-pyipv8') +source=("git+$url") +sha256sums=('SKIP') + +_rname=py-ipv8 + +pkgver() { + cd $srcdir/$_rname + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +build() { + cd $srcdir/$_rname + python2 setup.py build +} + +package() { + cd $srcdir/$_rname + python2 setup.py install --root=$pkgdir --optimize=1 --skip-build +} |