[arch-commits] Commit in rathole/repos/community-x86_64 (PKGBUILD PKGBUILD)
Orhun Parmaksiz
orhun at gemini.archlinux.org
Mon Feb 21 17:35:16 UTC 2022
Date: Monday, February 21, 2022 @ 17:35:16
Author: orhun
Revision: 1135569
archrelease: copy trunk to community-x86_64
Added:
rathole/repos/community-x86_64/PKGBUILD
(from rev 1135568, rathole/trunk/PKGBUILD)
Deleted:
rathole/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 76 ++++++++++++++++++++++++++++---------------------------------
1 file changed, 36 insertions(+), 40 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-02-21 17:35:05 UTC (rev 1135568)
+++ PKGBUILD 2022-02-21 17:35:16 UTC (rev 1135569)
@@ -1,40 +0,0 @@
-# Maintainer: Orhun Parmaksız <orhun at archlinux.org>
-
-pkgname=rathole
-pkgver=0.3.9
-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=('bbb5546ad087cffe8afd57906727281a9e7c7160acf472d0426cd15d1522bb53')
-
-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:
Copied: rathole/repos/community-x86_64/PKGBUILD (from rev 1135568, rathole/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-02-21 17:35:16 UTC (rev 1135569)
@@ -0,0 +1,36 @@
+# Maintainer: Orhun Parmaksız <orhun at archlinux.org>
+
+pkgname=rathole
+pkgver=0.3.10
+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=('cargo' 'libgit2')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
+sha256sums=('e6eac97b4945aeeec82bf3527017f0604315875ff1a59b0ca261ed4f5a12140c')
+
+prepare() {
+ cd "$pkgname-$pkgver"
+ cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
+}
+
+build() {
+ cd "$pkgname-$pkgver"
+ cargo build --release --frozen
+}
+
+check() {
+ cd "$pkgname-$pkgver"
+ 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