blob: 3955df22d8a9138f6f16b5a28a2df8893f8842b4 (
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.10.3
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=('ca9111ba2a47261b71892e1e5f50789211c7e5dfd1b612c6d7f0f5802f99d767')
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"
}
|