[arch-commits] Commit in rust-rage/repos/community-x86_64 (PKGBUILD PKGBUILD)

Caleb Maclennan alerque at gemini.archlinux.org
Mon May 2 08:44:22 UTC 2022


    Date: Monday, May 2, 2022 @ 08:44:22
  Author: alerque
Revision: 1192190

archrelease: copy trunk to community-x86_64

Added:
  rust-rage/repos/community-x86_64/PKGBUILD
    (from rev 1192189, rust-rage/trunk/PKGBUILD)
Deleted:
  rust-rage/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   92 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 46 insertions(+), 46 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-05-02 08:44:13 UTC (rev 1192189)
+++ PKGBUILD	2022-05-02 08:44:22 UTC (rev 1192190)
@@ -1,46 +0,0 @@
-# Maintainer: Caleb Maclennan <caleb at alerque.com>
-# Contributor: Daniel Peukert <daniel at peukert.cc>
-
-pkgname=rust-rage
-_pkgname=${pkgname##rust-}
-pkgver=0.8.0
-pkgrel=1
-pkgdesc='Rust implementation of the age encryption tool'
-arch=(x86_64 i686 arm armv6h armv7h aarch64)
-url="https://github.com/str4d/$_pkgname"
-license=(Apache MIT)
-depends=(fuse2
-         pcsclite)
-makedepends=(cargo)
-_archive="$_pkgname-$pkgver"
-source=("$url/archive/v$pkgver/$_archive.tar.gz")
-sha256sums=('727719d0d308998bb2600e730f7c287e40d0d9f77e77817bac03fe037c436449')
-
-prepare() {
-	cd "$_archive"
-	cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
-}
-
-build() {
-	cd "$_archive"
-	cargo build --frozen --release --all-features
-	cargo run --frozen --release --all-features --example generate-completions
-	cargo run --frozen --release --all-features --example generate-docs
-}
-
-check() {
-	cd "$_archive"
-	cargo test --frozen --all-features
-}
-
-package() {
-	cd "$_archive"
-	for bin in "$_pkgname"{,-keygen,-mount}; do
-		install -Dm0755 -t "$pkgdir/usr/bin/" "target/release/$bin"
-		install -Dm0644 -t "$pkgdir/usr/share/man/man1/" "target/manpages/$bin.1.gz"
-		install -Dm0644 -t "$pkgdir/usr/share/fish/vendor_completions.d/" "target/completions/$bin.fish"
-		install -Dm0644 "target/completions/$bin.bash" "$pkgdir/usr/share/bash-completion/completions/$bin"
-		install -Dm0644 "target/completions/$bin.zsh" "$pkgdir/usr/share/zsh/site-functions/_$bin"
-	done
-	install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE-MIT
-}

Copied: rust-rage/repos/community-x86_64/PKGBUILD (from rev 1192189, rust-rage/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-05-02 08:44:22 UTC (rev 1192190)
@@ -0,0 +1,46 @@
+# Maintainer: Caleb Maclennan <caleb at alerque.com>
+# Contributor: Daniel Peukert <daniel at peukert.cc>
+
+pkgname=rust-rage
+_pkgname=${pkgname##rust-}
+pkgver=0.8.0
+pkgrel=2
+pkgdesc='Rust implementation of the age encryption tool'
+arch=(x86_64 i686 arm armv6h armv7h aarch64)
+url="https://github.com/str4d/$_pkgname"
+license=(Apache MIT)
+depends=(bzip2
+         fuse2)
+makedepends=(cargo)
+_archive="$_pkgname-$pkgver"
+source=("$url/archive/v$pkgver/$_archive.tar.gz")
+sha256sums=('727719d0d308998bb2600e730f7c287e40d0d9f77e77817bac03fe037c436449')
+
+prepare() {
+	cd "$_archive"
+	cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
+}
+
+build() {
+	cd "$_archive"
+	cargo build --frozen --release --all-features
+	cargo run --frozen --release --all-features --example generate-completions
+	cargo run --frozen --release --all-features --example generate-docs
+}
+
+check() {
+	cd "$_archive"
+	cargo test --frozen --all-features
+}
+
+package() {
+	cd "$_archive"
+	for bin in "$_pkgname"{,-keygen,-mount}; do
+		install -Dm0755 -t "$pkgdir/usr/bin/" "target/release/$bin"
+		install -Dm0644 -t "$pkgdir/usr/share/man/man1/" "target/manpages/$bin.1.gz"
+		install -Dm0644 -t "$pkgdir/usr/share/fish/vendor_completions.d/" "target/completions/$bin.fish"
+		install -Dm0644 "target/completions/$bin.bash" "$pkgdir/usr/share/bash-completion/completions/$bin"
+		install -Dm0644 "target/completions/$bin.zsh" "$pkgdir/usr/share/zsh/site-functions/_$bin"
+	done
+	install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE-MIT
+}



More information about the arch-commits mailing list