summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 6b3e302fdb76df0ae3fca0fe267c7ca7c8033bc2 (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
25
26
27
28
29
30
# Maintainer: Kewl <xrjy@nygb.rh.bet(rot13)>

pkgname='python-solc'
_pkgname='py-solc'
pkgver=3.2.0
pkgrel=1
pkgdesc="Python wrapper around the solc Solidity compiler."
arch=('any')
depends=('solidity'
         'python-tox'
         'python-semantic-version'
         'python-bumpversion'
         'twine'
        )

makedepends=('python-setuptools')
url="https://github.com/ethereum/$_pkgname"
license=('MIT')
source=("https://pypi.org/packages/source/${_pkgname::1}/$_pkgname/$_pkgname-$pkgver.tar.gz")
sha256sums=('82095bdac661072f48cf2daf8a96bdb625674330d92b225be26043e8d3ef8c9a')

build() {
  cd $_pkgname-$pkgver
  python setup.py build
}

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