summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 41f0e6a9ba75a315b8976fd7c471bdc0109acb5b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Maintainer: Serge K <arch@phnx47.net>

_pkgname=solidity
pkgname="${_pkgname}-bin"
pkgver=0.8.28
pkgrel=1
pkgdesc='Contract-Oriented Programming Language'
arch=('x86_64')
url='https://github.com/ethereum/solidity'
license=('GPL-3.0-or-later')
depends=('glibc')
provides=("${_pkgname}")
conflicts=("${_pkgname}")
source=("${_pkgname}-${pkgver}.bin::${url}/releases/download/v${pkgver}/solc-static-linux")
sha512sums=('6ef76d18f7dd01be4391a91fa68e6c6543bf40d52c42cc83eae560cf8edea5d009a082ce0baa74946b41765ab445d68a2d0be296e1cf5e076cd2657db00a0f0e')

package() {
  install -Dm755 "${_pkgname}-${pkgver}.bin" "${pkgdir}/usr/bin/solc"
}