[arch-commits] Commit in pueue/trunk (PKGBUILD)
Orhun Parmaksiz
orhun at gemini.archlinux.org
Fri Aug 20 18:58:40 UTC 2021
Date: Friday, August 20, 2021 @ 18:58:40
Author: orhun
Revision: 1004015
upgpkg: pueue 1.0.1-2: avoid packaging the binary in bench profile
Modified:
pueue/trunk/PKGBUILD
----------+
PKGBUILD | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-08-20 18:50:36 UTC (rev 1004014)
+++ PKGBUILD 2021-08-20 18:58:40 UTC (rev 1004015)
@@ -3,7 +3,7 @@
pkgname=pueue
pkgver=1.0.1
-pkgrel=1
+pkgrel=2
pkgdesc="A command scheduler for shells"
arch=('x86_64')
url="https://github.com/nukesor/pueue"
@@ -13,15 +13,20 @@
source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
sha256sums=('03f19e1c13ccd8ef4972ed3849df04741047f125302d66d92fa4f4a5ef669296')
+prepare() {
+ cd "$pkgname-$pkgver"
+ cargo fetch --locked
+}
+
build() {
cd "$pkgname-$pkgver"
- cargo build --release --locked
+ cargo build --release --frozen
./build_completions.sh
}
check() {
cd "$pkgname-$pkgver"
- cargo test --release --locked
+ cargo test --frozen
}
package() {
More information about the arch-commits
mailing list