[arch-commits] Commit in arch-repro-status/trunk (PKGBUILD)
Orhun Parmaksiz
orhun at gemini.archlinux.org
Sat Aug 7 14:06:00 UTC 2021
Date: Saturday, August 7, 2021 @ 14:06:00
Author: orhun
Revision: 994659
upgpkg: arch-repro-status 1.2.4-1: upstream release
Modified:
arch-repro-status/trunk/PKGBUILD
----------+
PKGBUILD | 18 ++++++++++++++----
1 file changed, 14 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-08-07 14:00:36 UTC (rev 994658)
+++ PKGBUILD 2021-08-07 14:06:00 UTC (rev 994659)
@@ -1,7 +1,7 @@
# Maintainer: Orhun Parmaksız <orhun at archlinux.org>
pkgname=arch-repro-status
-pkgver=1.2.3
+pkgver=1.2.4
pkgrel=1
pkgdesc="Check the reproducibility status of your Arch Linux packages"
arch=('x86_64')
@@ -11,16 +11,23 @@
makedepends=('rust')
groups=('archlinux-tools')
source=("$pkgname-$pkgver.tar.gz::$url/-/archive/v$pkgver/$pkgname-v$pkgver.tar.gz")
-sha512sums=('55a293ad13ed847a54420d032d76d1edfb1446b7ae1edb11a44d4326c3a8592f32681b0acbe98a397fc6ba5bda4867411bd839c4b935dbac3a3c8354048dce9d')
+sha512sums=('f42630870dbadb1c068cc7641facdbcd7443b9413b404f9172b13adaadc38d894fe21eb02bfc4a9bbc7cb2145fe8bd662a303695776b600484982c2bc5cf0ab4')
+prepare() {
+ cd "$pkgname-v$pkgver"
+ mkdir completions/
+ cargo fetch --locked
+}
+
build() {
cd "$pkgname-v$pkgver"
- cargo build --release --locked
+ cargo build --frozen --release
+ OUT_DIR=completions/ cargo run --bin completions
}
check() {
cd "$pkgname-v$pkgver"
- cargo test --release --locked
+ cargo test --frozen
}
package() {
@@ -29,4 +36,7 @@
install -Dm 644 README.md -t "$pkgdir/usr/share/doc/$pkgname"
install -Dm 644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
install -Dm 644 "man/$pkgname.1" -t "$pkgdir/usr/share/man/man1"
+ install -Dm 644 "completions/$pkgname.bash" "$pkgdir/usr/share/bash-completion/completions/$pkgname"
+ install -Dm 644 "completions/$pkgname.fish" -t "$pkgdir/usr/share/fish/vendor_completions.d"
+ install -Dm 644 "completions/_$pkgname" -t "$pkgdir/usr/share/zsh/site-functions"
}
More information about the arch-commits
mailing list