blob: 0fd2a80ce1cdadcd642c3de1ed0a48941eea114a (
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: Ramana Kumar <ramana@member.fsf.org>
pkgname=teku
pkgver=24.12.0
pkgrel=1
pkgdesc="ConsenSys Ethereum Beacon Chain Client"
arch=('any')
url="https://docs.teku.consensys.net"
license=('Apache')
depends=('java-runtime-headless>=21')
source=("https://artifacts.consensys.net/public/$pkgname/raw/names/$pkgname.tar.gz/versions/$pkgver/$pkgname-$pkgver.tar.gz")
sha256sums=('a220130a5a1124b14b046412bb8ec582959344c162e931c9023982b9743d79a3')
check() {
"$pkgname-$pkgver/bin/$pkgname" --version
}
package() {
install -dD -m757 "$pkgdir/opt/$pkgname"
install -dD -m755 "$pkgdir/usr/bin"
cd "$pkgname-$pkgver"
rm bin/$pkgname.bat
cp -p -r * "$pkgdir/opt/$pkgname"
ln -rs "$pkgdir/opt/$pkgname/bin/$pkgname" "$pkgdir/usr/bin/$pkgname"
}
|