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

pkgname=mev-boost
pkgver=1.3.2
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
    make build-portable
}

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"
}