[arch-commits] Commit in rebuilderd/repos/community-x86_64 (PKGBUILD PKGBUILD)
Kpcyrd
kpcyrd at gemini.archlinux.org
Sun Dec 12 19:50:38 UTC 2021
Date: Sunday, December 12, 2021 @ 19:50:38
Author: kpcyrd
Revision: 1069173
archrelease: copy trunk to community-x86_64
Added:
rebuilderd/repos/community-x86_64/PKGBUILD
(from rev 1069172, rebuilderd/trunk/PKGBUILD)
Deleted:
rebuilderd/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 204 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 102 insertions(+), 102 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-12-12 19:50:13 UTC (rev 1069172)
+++ PKGBUILD 2021-12-12 19:50:38 UTC (rev 1069173)
@@ -1,102 +0,0 @@
-# Maintainer: kpcyrd <kpcyrd[at]archlinux[dot]org>
-
-pkgbase=rebuilderd
-pkgname=(rebuilderd rebuilderd-tools)
-pkgver=0.16.6
-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=(${pkgname}-${pkgver}.tar.gz::https://github.com/kpcyrd/${pkgname}/archive/refs/tags/v${pkgver}.tar.gz
- https://github.com/kpcyrd/${pkgname}/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.gz.asc)
-sha512sums=('9bea7fe515d1b646540d9c5a854eaa5e1944132f8ebd56f9af747dc8fd1971e6a2799860fddb3449405bf12524f9569951239403b0d2cfe51552fd48d2ec1660'
- 'SKIP')
-b2sums=('f6bc90b784bede6791e96cfdeca227980f476cbbe58d516e0201b28bbb1e8747937f6e45c9c97e7b2ba448cccacc4966eaf62cc8c974dcec2f225d9bbd94eb56'
- '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 at .service \
- contrib/systemd/rebuilderd-sync at .timer \
- contrib/systemd/rebuilderd-worker at .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 1069172, rebuilderd/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-12-12 19:50:38 UTC (rev 1069173)
@@ -0,0 +1,102 @@
+# Maintainer: kpcyrd <kpcyrd[at]archlinux[dot]org>
+
+pkgbase=rebuilderd
+pkgname=(rebuilderd rebuilderd-tools)
+pkgver=0.17.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=(${pkgname}-${pkgver}.tar.gz::https://github.com/kpcyrd/${pkgname}/archive/refs/tags/v${pkgver}.tar.gz
+ https://github.com/kpcyrd/${pkgname}/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.gz.asc)
+sha512sums=('e4e6aa38785e177877c32d09f835a1ab514a2abae81cbb3db58213c19386ae08aebc8d8a33f6fe7265051982a395d8fe7347e28592ff2e7f8b267498c89decae'
+ 'SKIP')
+b2sums=('1cbb1c1cd931206f80d4dc8dc7b3c9d5e3e3798ad57b978ed5456c2475484bc2dcbe720ca0f098d65ed2792b65858f98b72c063f3a1d771e71e85a1efd19232b'
+ '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 at .service \
+ contrib/systemd/rebuilderd-sync at .timer \
+ contrib/systemd/rebuilderd-worker at .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:
More information about the arch-commits
mailing list