summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 8433267d04eb5393ee8ed23a85cecce371b0bfc1 (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
# Maintainer: Edward Amor <edward.amor3 at gmail dot com>
pkgname=python-vyper-git
pkgver=0.2.11
pkgrel=2
pkgdesc="Pythonic Smart Contract Language for the EVM"
arch=('x86_64')
url="https://github.com/vyperlang/vyper"
license=('Apache-2.0')
depends=('python' 'python-asttokens' 'python-pycryptodome' 'python-semantic-version' 'python-setuptools')
makedepends=('git' 'python-setuptools')
provides=('vyper' 'vyper-serve' 'vyper-lll' 'vyper-json')
source=('git+https://github.com/vyperlang/vyper.git')
md5sums=('SKIP')

build() {
	cd "$srcdir/vyper"
	git checkout v0.2.11
	python setup.py build
}

package() {
	cd "$srcdir/vyper"
	python setup.py install --root="$pkgdir" --optimize=1 --skip-build
}