Date: Monday, November 22, 2021 @ 20:37:27 Author: kpcyrd Revision: 1054368
archrelease: copy trunk to community-x86_64 Added: rebuilderd/repos/community-x86_64/PKGBUILD (from rev 1054367, rebuilderd/trunk/PKGBUILD) Deleted: rebuilderd/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 204 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 102 insertions(+), 102 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-11-22 20:37:11 UTC (rev 1054367) +++ PKGBUILD 2021-11-22 20:37:27 UTC (rev 1054368) @@ -1,102 +0,0 @@ -# Maintainer: kpcyrd <kpcyrd[at]archlinux[dot]org> - -pkgbase=rebuilderd -pkgname=(rebuilderd rebuilderd-tools) -pkgver=0.16.0 -pkgrel=1 -pkgdesc='Independent verification system of binary packages' -url='https://github.com/kpcyrd/rebuilderd' -arch=('x86_64') -license=('GPL3') -depends=('openssl' 'shared-mime-info' 'xz' 'libzstd.so') -makedepends=('cargo' 'sqlite' 'scdoc') -source=(https://github.com/kpcyrd/${pkgname}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz - https://github.com/kpcyrd/${pkgname}/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.gz.asc) -sha512sums=('33145e55aba49b7c5a506947925ebff1b1219ce21a28792a08f46b7410a37269960035e45561ce5db115e72ead76793fd86013bc7030b051d9da80a6d9d9cd06' - 'SKIP') -b2sums=('0df3fd08c73a891a8728808ff4e8b9299eefdc646c1e70a25e9063d39f7d71df41f910e4e5835b0d39ecbe35537397aa4428c57cfcf79628cc92c06aaee238d5' - 'SKIP') - -validpgpkeys=("64B13F7117D6E07D661BBCE0FE763A64F5E54FD6") - -prepare() { - cd ${pkgbase}-${pkgver} - cargo fetch --locked --target "$CARCH-unknown-linux-gnu" -} - -build() { - cd ${pkgbase}-${pkgver} - cargo build --frozen --release --workspace - make docs -} - -check() { - cd ${pkgbase}-${pkgver} - cargo test --frozen --workspace -} - -package_rebuilderd() { - pkgdesc='Independent verification system of binary packages (server package)' - depends=('rebuilderd-tools' 'sqlite' 'archlinux-repro') - backup=('etc/rebuilderd.conf' - 'etc/rebuilderd-sync.conf' - 'etc/rebuilderd-worker.conf') - - cd ${pkgbase}-${pkgver} - install -Dm 755 -t "${pkgdir}/usr/bin" \ - target/release/rebuilderd \ - target/release/rebuilderd-worker - - # install rebuilder scripts - install -Dm 755 -t "${pkgdir}/usr/libexec/rebuilderd" \ - worker/rebuilder-*.sh - - # install config files - install -Dm 644 -t "${pkgdir}/etc" \ - contrib/confs/rebuilderd-sync.conf - install -Dm 640 -g 212 -t "${pkgdir}/etc" \ - contrib/confs/rebuilderd-worker.conf \ - contrib/confs/rebuilderd.conf - - # install systemd configs - install -Dm 644 -t "${pkgdir}/usr/lib/systemd/system" \ - contrib/systemd/rebuilderd-sync@.service \ - contrib/systemd/rebuilderd-sync@.timer \ - contrib/systemd/rebuilderd-worker@.service \ - contrib/systemd/rebuilderd.service - - install -Dm 644 contrib/systemd/rebuilderd.sysusers "${pkgdir}/usr/lib/sysusers.d/rebuilderd.conf" - install -Dm 644 contrib/systemd/rebuilderd.tmpfiles "${pkgdir}/usr/lib/tmpfiles.d/rebuilderd.conf" - - # install docs - install -Dm 644 -t "${pkgdir}/usr/share/man/man1" \ - contrib/docs/rebuilderd.1 \ - contrib/docs/rebuilderd-worker.1 - install -Dm 644 -t "${pkgdir}/usr/share/man/man5" \ - contrib/docs/rebuilderd.conf.5 \ - contrib/docs/rebuilderd-sync.conf.5 \ - contrib/docs/rebuilderd-worker.conf.5 -} - -package_rebuilderd-tools() { - pkgdesc='Independent verification system of binary packages (tools package)' - - cd ${pkgbase}-${pkgver} - install -Dm 755 -t "${pkgdir}/usr/bin" \ - target/release/rebuildctl - - # install completions - install -d "${pkgdir}/usr/share/bash-completion/completions" \ - "${pkgdir}/usr/share/zsh/site-functions" \ - "${pkgdir}/usr/share/fish/vendor_completions.d" - "${pkgdir}/usr/bin/rebuildctl" completions bash > "${pkgdir}/usr/share/bash-completion/completions/rebuildctl" - "${pkgdir}/usr/bin/rebuildctl" completions zsh > "${pkgdir}/usr/share/zsh/site-functions/_rebuildctl" - "${pkgdir}/usr/bin/rebuildctl" completions fish > "${pkgdir}/usr/share/fish/vendor_completions.d/rebuildctl.fish" - - # install docs - install -Dm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgbase}" - install -Dm 644 -t "${pkgdir}/usr/share/man/man1" \ - contrib/docs/rebuildctl.1 -} - -# vim: ts=2 sw=2 et: Copied: rebuilderd/repos/community-x86_64/PKGBUILD (from rev 1054367, rebuilderd/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-11-22 20:37:27 UTC (rev 1054368) @@ -0,0 +1,102 @@ +# Maintainer: kpcyrd <kpcyrd[at]archlinux[dot]org> + +pkgbase=rebuilderd +pkgname=(rebuilderd rebuilderd-tools) +pkgver=0.16.2 +pkgrel=1 +pkgdesc='Independent verification system of binary packages' +url='https://github.com/kpcyrd/rebuilderd' +arch=('x86_64') +license=('GPL3') +depends=('openssl' 'shared-mime-info' 'xz' 'libzstd.so') +makedepends=('cargo' 'sqlite' 'scdoc') +source=(https://github.com/kpcyrd/${pkgname}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz + https://github.com/kpcyrd/${pkgname}/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.gz.asc) +sha512sums=('3962df53717c0eeadead1e89d037097c146228efbdb6e14ebbe05c6a8acdc345b70fd6a94c4c5cbd3ea40af7e31b372c8a80179eb498612c37699cf7e3a39489' + 'SKIP') +b2sums=('6d0c96f480424a06e7a92c0cd7ac5f765b676f54d4c08e58971ce5a8f2b216a2b30dd425ae5cc6475877f999a9ed236b71061225192739fe60f116ae4ff039cd' + 'SKIP') + +validpgpkeys=("64B13F7117D6E07D661BBCE0FE763A64F5E54FD6") + +prepare() { + cd ${pkgbase}-${pkgver} + cargo fetch --locked --target "$CARCH-unknown-linux-gnu" +} + +build() { + cd ${pkgbase}-${pkgver} + cargo build --frozen --release --workspace + make docs +} + +check() { + cd ${pkgbase}-${pkgver} + cargo test --frozen --workspace +} + +package_rebuilderd() { + pkgdesc='Independent verification system of binary packages (server package)' + depends=('rebuilderd-tools' 'sqlite' 'archlinux-repro') + backup=('etc/rebuilderd.conf' + 'etc/rebuilderd-sync.conf' + 'etc/rebuilderd-worker.conf') + + cd ${pkgbase}-${pkgver} + install -Dm 755 -t "${pkgdir}/usr/bin" \ + target/release/rebuilderd \ + target/release/rebuilderd-worker + + # install rebuilder scripts + install -Dm 755 -t "${pkgdir}/usr/libexec/rebuilderd" \ + worker/rebuilder-*.sh + + # install config files + install -Dm 644 -t "${pkgdir}/etc" \ + contrib/confs/rebuilderd-sync.conf + install -Dm 640 -g 212 -t "${pkgdir}/etc" \ + contrib/confs/rebuilderd-worker.conf \ + contrib/confs/rebuilderd.conf + + # install systemd configs + install -Dm 644 -t "${pkgdir}/usr/lib/systemd/system" \ + contrib/systemd/rebuilderd-sync@.service \ + contrib/systemd/rebuilderd-sync@.timer \ + contrib/systemd/rebuilderd-worker@.service \ + contrib/systemd/rebuilderd.service + + install -Dm 644 contrib/systemd/rebuilderd.sysusers "${pkgdir}/usr/lib/sysusers.d/rebuilderd.conf" + install -Dm 644 contrib/systemd/rebuilderd.tmpfiles "${pkgdir}/usr/lib/tmpfiles.d/rebuilderd.conf" + + # install docs + install -Dm 644 -t "${pkgdir}/usr/share/man/man1" \ + contrib/docs/rebuilderd.1 \ + contrib/docs/rebuilderd-worker.1 + install -Dm 644 -t "${pkgdir}/usr/share/man/man5" \ + contrib/docs/rebuilderd.conf.5 \ + contrib/docs/rebuilderd-sync.conf.5 \ + contrib/docs/rebuilderd-worker.conf.5 +} + +package_rebuilderd-tools() { + pkgdesc='Independent verification system of binary packages (tools package)' + + cd ${pkgbase}-${pkgver} + install -Dm 755 -t "${pkgdir}/usr/bin" \ + target/release/rebuildctl + + # install completions + install -d "${pkgdir}/usr/share/bash-completion/completions" \ + "${pkgdir}/usr/share/zsh/site-functions" \ + "${pkgdir}/usr/share/fish/vendor_completions.d" + "${pkgdir}/usr/bin/rebuildctl" completions bash > "${pkgdir}/usr/share/bash-completion/completions/rebuildctl" + "${pkgdir}/usr/bin/rebuildctl" completions zsh > "${pkgdir}/usr/share/zsh/site-functions/_rebuildctl" + "${pkgdir}/usr/bin/rebuildctl" completions fish > "${pkgdir}/usr/share/fish/vendor_completions.d/rebuildctl.fish" + + # install docs + install -Dm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgbase}" + install -Dm 644 -t "${pkgdir}/usr/share/man/man1" \ + contrib/docs/rebuildctl.1 +} + +# vim: ts=2 sw=2 et: