summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e3350b0f1ae2fb43fbfba70c3027f96d435e9a8c (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
28
29
30
31
32
33
34
35
36
37
# Maintainer: Thomas Letan <lthms@soap.coffee>

pkgname=octez-smart-rollup-node
pkgver=20.2
pkgrel=4
pkgdesc='Unofficial binary release for the octez-smart-rollup-node from Octez'
url=https://gitlab.com/tezos/tezos
license=('MIT')
arch=('x86_64')
depends=(
  'octez-zcash-params'
)
makedepends=(
  'systemd'
)
source=(
  "$pkgname-$pkgver-$pkgrel::https://gitlab.com/tezos/tezos/-/package_files/138315769/download"
  "$pkgname.sysusers"
  "$pkgname.tmpfiles"
  "$pkgname@.service"
)
sha512sums=('fdd034c4ef3d4d3893759f297cf04cc24c02ef99af0a6e6a33a6d5273f7ea203f0e3751b21053577653802ad8b5fd23e733216981e67ed47ef7cd731c47cbe15'
            '4c7f574d08436ac8e5acbfc47a5a895c0401b44e96391bf6489fe80174e04982a6fd618a45db47c4994f30d3db95827417d849b98f02cb9b27266897cd64cf31'
            '1bfdc8af0663d18abcda427995198bd1948bb85c3b05f1e769a02530d70e0858d3a5d2d5d1d21294bb8a7a68cac023ca6f8ee13440fabc79dcb40dde8761ee56'
            'de32035f38db05580a2d77848a79905e49aa1d3d8864647f1098568c9ae02aef80c6bc120c09965f09ef4ce840d88f21fcd46ab1101b93e9893eb696020ea6c6')

build() {
  cd "$srcdir"
}

package() {
  cd "$srcdir"
  install -Dm 755 "$pkgname-$pkgver-$pkgrel" "$pkgdir/usr/bin/$pkgname"
  install -Dm 644 "$pkgname@.service" -t "${pkgdir}/usr/lib/systemd/system"
  install -Dm 644 "$pkgname.sysusers" "${pkgdir}/usr/lib/sysusers.d/$pkgname.conf"
  install -Dm 644 "$pkgname.tmpfiles" "${pkgdir}/usr/lib/tmpfiles.d/$pkgname.conf"
}