[arch-commits] Commit in rathole/repos/community-x86_64 (PKGBUILD PKGBUILD)
Orhun Parmaksiz
orhun at gemini.archlinux.org
Thu Jan 6 15:35:47 UTC 2022
Date: Thursday, January 6, 2022 @ 15:35:47
Author: orhun
Revision: 1094714
archrelease: copy trunk to community-x86_64
Added:
rathole/repos/community-x86_64/PKGBUILD
(from rev 1094713, rathole/trunk/PKGBUILD)
Deleted:
rathole/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 83 +++++++++++++++++++++++++++++--------------------------------
1 file changed, 40 insertions(+), 43 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-01-06 15:35:35 UTC (rev 1094713)
+++ PKGBUILD 2022-01-06 15:35:47 UTC (rev 1094714)
@@ -1,43 +0,0 @@
-# Maintainer: Orhun Parmaksız <orhun at archlinux.org>
-
-pkgname=rathole
-pkgver=0.3.1
-pkgrel=1
-pkgdesc="A reverse proxy for NAT traversal"
-arch=('x86_64')
-url="https://github.com/rapiz1/rathole"
-license=('Apache')
-depends=('gcc-libs' 'openssl')
-makedepends=('rust' 'libgit2')
-source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz"
- "$pkgname-$pkgver-vergen.patch::$url/commit/bb26e2cd36bf63dd6b49000bb57a94761e0e82b1.patch")
-sha256sums=('48ddabbceb1e98113ab3b7cf75c9e6b2e1b0e49265192da442b43ad91f97af4f'
- 'f93263bae8b782fabc1d730f564e3455d35d14c960c39f23d73b1f6f24249f6e')
-
-prepare() {
- cd "$pkgname-$pkgver"
- patch -Np1 -i "../$pkgname-$pkgver-vergen.patch"
- cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
-}
-
-build() {
- cd "$pkgname-$pkgver"
- export RUSTUP_TOOLCHAIN=stable
- export CARGO_TARGET_DIR=target
- cargo build --release --frozen
-}
-
-check() {
- cd "$pkgname-$pkgver"
- export RUSTUP_TOOLCHAIN=stable
- export CARGO_TARGET_DIR=target
- cargo test --frozen
-}
-
-package() {
- cd "$pkgname-$pkgver"
- install -Dm 755 "target/release/$pkgname" -t "$pkgdir/usr/bin"
- install -Dm 644 README.md -t "$pkgdir/usr/share/doc/$pkgname"
-}
-
-# vim:set ts=2 sw=2 et:
Copied: rathole/repos/community-x86_64/PKGBUILD (from rev 1094713, rathole/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-01-06 15:35:47 UTC (rev 1094714)
@@ -0,0 +1,40 @@
+# Maintainer: Orhun Parmaksız <orhun at archlinux.org>
+
+pkgname=rathole
+pkgver=0.3.2
+pkgrel=1
+pkgdesc="A reverse proxy for NAT traversal"
+arch=('x86_64')
+url="https://github.com/rapiz1/rathole"
+license=('Apache')
+depends=('gcc-libs' 'openssl')
+makedepends=('rust' 'libgit2')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
+sha256sums=('3b83f02a0443e15a87caf3f8dba81155d0040d40b1a5e17568a71139e827b3aa')
+
+prepare() {
+ cd "$pkgname-$pkgver"
+ cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
+}
+
+build() {
+ cd "$pkgname-$pkgver"
+ export RUSTUP_TOOLCHAIN=stable
+ export CARGO_TARGET_DIR=target
+ cargo build --release --frozen
+}
+
+check() {
+ cd "$pkgname-$pkgver"
+ export RUSTUP_TOOLCHAIN=stable
+ export CARGO_TARGET_DIR=target
+ cargo test --frozen
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+ install -Dm 755 "target/release/$pkgname" -t "$pkgdir/usr/bin"
+ install -Dm 644 README.md -t "$pkgdir/usr/share/doc/$pkgname"
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list