summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 67275dcf607afaaf67aa32769b1bee2c79ab92bf (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
# Maintainer: Auston S <austonst@gmail.com>

pkgname=mev-boost
pkgver=1.8
pkgrel=1
pkgdesc='MEV middleware for Ethereum validators'
arch=('x86_64')
url='https://boost.flashbots.net/'
license=('MIT')
depends=('go')
makedepends=('make' 'git')
conflicts=('mev-boost')
source=("git+https://github.com/flashbots/mev-boost.git#tag=v$pkgver")
sha256sums=('SKIP')

build() {
    cd ${pkgname}
    make build
}

package() {
    cd ${pkgname}

    install -D -m755 "$srcdir/$pkgname/mev-boost" "$pkgdir/usr/bin/mev-boost"
    install -D -m644 "$srcdir/$pkgname/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}