Date: Friday, March 24, 2023 @ 20:09:33
Author: alerque
Revision: 1427740
archrelease: copy trunk to community-x86_64
Added:
rust-rage/repos/community-x86_64/PKGBUILD
(from rev 1427739, rust-rage/trunk/PKGBUILD)
Deleted:
rust-rage/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 94 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 47 insertions(+), 47 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2023-03-24 20:09:24 UTC (rev 1427739)
+++ PKGBUILD 2023-03-24 20:09:33 UTC (rev 1427740)
@@ -1,47 +0,0 @@
-# Maintainer: Caleb Maclennan <[email protected]>
-# Contributor: Daniel Peukert <[email protected]>
-
-pkgname=rust-rage
-_pkgname=${pkgname##rust-}
-pkgver=0.9.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=(bzip2
- fuse2)
-makedepends=(cargo)
-_archive="$_pkgname-$pkgver"
-source=("$url/archive/v$pkgver/$_archive.tar.gz")
-sha256sums=('f5756004061f974e79607224864ceb3fdd50367272cc58aa5a755929cf1c70a3')
-
-prepare() {
- cd "$_archive"
- cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
-}
-
-build() {
- cd "$_archive"
- export CFLAGS+=" -ffat-lto-objects"
- 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 1427739,
rust-rage/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2023-03-24 20:09:33 UTC (rev 1427740)
@@ -0,0 +1,47 @@
+# Maintainer: Caleb Maclennan <[email protected]>
+# Contributor: Daniel Peukert <[email protected]>
+
+pkgname=rust-rage
+_pkgname=${pkgname##rust-}
+pkgver=0.9.1
+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=(bzip2
+ fuse2)
+makedepends=(cargo)
+_archive="$_pkgname-$pkgver"
+source=("$url/archive/v$pkgver/$_archive.tar.gz")
+sha256sums=('c3dbd44dbdcfa69808dbe4d291453b8187a2302593fde5e7a88e6affeaeb25bf')
+
+prepare() {
+ cd "$_archive"
+ cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
+}
+
+build() {
+ cd "$_archive"
+ export CFLAGS+=" -ffat-lto-objects"
+ 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
+}