[arch-commits] Commit in pueue/repos/community-x86_64 (PKGBUILD PKGBUILD)
Orhun Parmaksiz
orhun at gemini.archlinux.org
Fri Feb 18 23:48:15 UTC 2022
Date: Friday, February 18, 2022 @ 23:48:15
Author: orhun
Revision: 1134588
archrelease: copy trunk to community-x86_64
Added:
pueue/repos/community-x86_64/PKGBUILD
(from rev 1134587, pueue/trunk/PKGBUILD)
Deleted:
pueue/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 107 +++++++++++++++++++++++++++++++------------------------------
1 file changed, 55 insertions(+), 52 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-02-18 23:48:08 UTC (rev 1134587)
+++ PKGBUILD 2022-02-18 23:48:15 UTC (rev 1134588)
@@ -1,52 +0,0 @@
-# Maintainer: Orhun Parmaksız <orhun at archlinux.org>
-# Contributor: Arne Beer <privat at arne.beer>
-
-pkgname=pueue
-pkgver=1.0.6
-pkgrel=1
-pkgdesc="A command scheduler for shells"
-arch=('x86_64')
-url="https://github.com/nukesor/pueue"
-license=('MIT')
-depends=('gcc-libs')
-makedepends=('rust')
-source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
-sha256sums=('e8df48831f4d9ae8fe5dc7a8428660b4c87c4fb3bf8d1ae620e030af74269ffa')
-options=('!lto')
-
-prepare() {
- cd "$pkgname-$pkgver"
- cargo fetch --locked
-}
-
-build() {
- cd "$pkgname-$pkgver"
- cargo build --release --frozen
- ./build_completions.sh
-}
-
-check() {
- cd "$pkgname-$pkgver"
- cargo test --frozen
-}
-
-package() {
- cd "$pkgname-$pkgver"
-
- # Install binaries
- install -Dm755 "target/release/pueue" "$pkgdir/usr/bin/pueue"
- install -Dm755 "target/release/pueued" "$pkgdir/usr/bin/pueued"
-
- # Place systemd user service
- install -Dm644 "utils/pueued.service" "$pkgdir/usr/lib/systemd/user/pueued.service"
-
- # Install shell completions file
- install -Dm644 "utils/completions/_pueue" "$pkgdir/usr/share/zsh/site-functions/_pueue"
- install -Dm644 "utils/completions/pueue.bash" "$pkgdir/usr/share/bash-completion/completions/pueue.bash"
- install -Dm644 "utils/completions/pueue.fish" "$pkgdir/usr/share/fish/completions/pueue.fish"
-
- # Install License
- install -Dm644 "LICENSE" "$pkgdir/usr/share/licenses/pueue/LICENSE"
-}
-
-# vim: ts=2 sw=2 et:
Copied: pueue/repos/community-x86_64/PKGBUILD (from rev 1134587, pueue/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-02-18 23:48:15 UTC (rev 1134588)
@@ -0,0 +1,55 @@
+# Maintainer: Orhun Parmaksız <orhun at archlinux.org>
+# Contributor: Arne Beer <privat at arne.beer>
+
+pkgname=pueue
+pkgver=2.0.0
+pkgrel=1
+pkgdesc="A CLI tool for managing long running shell commands"
+arch=('x86_64')
+url="https://github.com/nukesor/pueue"
+license=('MIT')
+depends=('gcc-libs')
+makedepends=('cargo')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
+sha256sums=('6069cff79a31dfdfc97a03ce1ee1d7df94ae649b4703394000936724cf88cf44')
+
+prepare() {
+ cd "$pkgname-$pkgver"
+ cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
+ mkdir -p utils/completions/
+}
+
+build() {
+ cd "$pkgname-$pkgver"
+ CFLAGS+=" -ffat-lto-objects"
+ cargo build --release --frozen
+ ./target/release/pueue completions bash utils/completions/
+ ./target/release/pueue completions fish utils/completions/
+ ./target/release/pueue completions zsh utils/completions/
+}
+
+check() {
+ cd "$pkgname-$pkgver"
+ cargo test --frozen
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+
+ # Install binaries
+ install -Dm755 "target/release/pueue" "$pkgdir/usr/bin/pueue"
+ install -Dm755 "target/release/pueued" "$pkgdir/usr/bin/pueued"
+
+ # Place systemd user service
+ install -Dm644 "utils/pueued.service" "$pkgdir/usr/lib/systemd/user/pueued.service"
+
+ # Install shell completions file
+ install -Dm644 "utils/completions/_pueue" "$pkgdir/usr/share/zsh/site-functions/_pueue"
+ install -Dm644 "utils/completions/pueue.bash" "$pkgdir/usr/share/bash-completion/completions/pueue.bash"
+ install -Dm644 "utils/completions/pueue.fish" "$pkgdir/usr/share/fish/completions/pueue.fish"
+
+ # Install License
+ install -Dm644 "LICENSE" "$pkgdir/usr/share/licenses/pueue/LICENSE"
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list