[arch-commits] Commit in rebuilderd/repos/community-x86_64 (PKGBUILD PKGBUILD)
Kpcyrd
kpcyrd at gemini.archlinux.org
Sun Nov 28 13:30:14 UTC 2021
Date: Sunday, November 28, 2021 @ 13:30:14
Author: kpcyrd
Revision: 1055181
archrelease: copy trunk to community-x86_64
Added:
rebuilderd/repos/community-x86_64/PKGBUILD
(from rev 1055180, rebuilderd/trunk/PKGBUILD)
Deleted:
rebuilderd/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 204 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 102 insertions(+), 102 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-11-28 13:29:58 UTC (rev 1055180)
+++ PKGBUILD 2021-11-28 13:30:14 UTC (rev 1055181)
@@ -1,102 +0,0 @@
-# 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 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 1055180, rebuilderd/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-11-28 13:30:14 UTC (rev 1055181)
@@ -0,0 +1,102 @@
+# Maintainer: kpcyrd <kpcyrd[at]archlinux[dot]org>
+
+pkgbase=rebuilderd
+pkgname=(rebuilderd rebuilderd-tools)
+pkgver=0.16.3
+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=('37d3fb4ae6ba9b19c5610a77efcf19db79aaab7aa0d42d2a5c52e5591386e97e042a38d7339b6fd586fad492f91f2581822db43da8882c39cf714dab576345fa'
+ 'SKIP')
+b2sums=('dcf4c0d62d2015d1de6ec396bb50514b587560b748f603bc337a910ad5bfb02c3d9e7b2d2b29127162b1b642d724e5d0223b28d81f2daba59aa2170c057db730'
+ '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