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

Orhun Parmaksiz orhun at gemini.archlinux.org
Mon Dec 6 16:18:09 UTC 2021


    Date: Monday, December 6, 2021 @ 16:18:09
  Author: orhun
Revision: 1065287

archrelease: copy trunk to community-x86_64

Added:
  innernet/repos/community-x86_64/PKGBUILD
    (from rev 1065286, innernet/trunk/PKGBUILD)
Deleted:
  innernet/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |  110 +++++++++++++++++++++++++++++++------------------------------
 1 file changed, 56 insertions(+), 54 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-12-06 16:17:58 UTC (rev 1065286)
+++ PKGBUILD	2021-12-06 16:18:09 UTC (rev 1065287)
@@ -1,54 +0,0 @@
-# Maintainer: Orhun Parmaksız <orhun at archlinux.org>
-# Contributor: Jake McGinty <jake at tonari.no>
-
-pkgname=innernet
-pkgver=1.5.1
-pkgrel=1
-pkgdesc="A private network system that uses WireGuard under the hood"
-arch=('x86_64')
-url="https://github.com/tonarino/innernet"
-license=('MIT')
-depends=('sqlite')
-makedepends=('rust' 'git' 'clang' 'llvm')
-source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
-sha256sums=('56ce88db4acf3f500b084d629304aa338977865f292a75a40c7a8a83c2276fe3')
-
-prepare() {
-  cd "$pkgname-$pkgver"
-  cargo fetch --locked
-}
-
-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" "$pkgdir/usr/bin/$pkgname"
-  install -Dm 755 "target/release/$pkgname-server" "$pkgdir/usr/bin/$pkgname-server"
-  ln -s "/usr/bin/$pkgname" "$pkgdir/usr/bin/inn"
-
-  install -Dm 644 "client/$pkgname at .service" "$pkgdir/usr/lib/systemd/system/$pkgname at .service"
-  install -Dm 644 "client/$pkgname.target" "$pkgdir/usr/lib/systemd/system/$pkgname.target"
-  
-  install -Dm 644 "server/$pkgname-server at .service" "$pkgdir/usr/lib/systemd/system/$pkgname-server at .service"
-
-  for binary in "$pkgname" "$pkgname-server"; do
-    install -Dm 644 "doc/$binary.completions.bash" "$pkgdir/usr/share/bash-completion/completions/$binary"
-    install -Dm 644 "doc/$binary.completions.fish" "$pkgdir/usr/share/fish/vendor_completions.d/$binary.fish"
-    install -Dm 644 "doc/$binary.completions.zsh" "$pkgdir/usr/share/zsh/site-functions/_$binary"
-    install -Dm 644 "doc/$binary.8.gz" "$pkgdir/usr/share/man/man8/$binary.8.gz"
-  done
-
-  install -Dm 644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-  install -Dm 644 README.md "$pkgdir/usr/share/doc/$pkgname/README.md"
-}
-
-# vim:set ts=2 sw=2 et:

Copied: innernet/repos/community-x86_64/PKGBUILD (from rev 1065286, innernet/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-12-06 16:18:09 UTC (rev 1065287)
@@ -0,0 +1,56 @@
+# Maintainer: Orhun Parmaksız <orhun at archlinux.org>
+# Contributor: Jake McGinty <jake at tonari.no>
+
+pkgname=innernet
+pkgver=1.5.2
+pkgrel=1
+pkgdesc="A private network system that uses WireGuard under the hood"
+arch=('x86_64')
+url="https://github.com/tonarino/innernet"
+license=('MIT')
+depends=('sqlite')
+makedepends=('rust' 'git' 'clang' 'llvm')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
+sha256sums=('e5ebec0b17a74d3bb241faeeef7ea2069aa61db169e3de07394b1f62d4b1b830')
+
+prepare() {
+  cd "$pkgname-$pkgver"
+  cargo fetch --locked
+}
+
+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" "$pkgdir/usr/bin/$pkgname"
+  install -Dm 755 "target/release/$pkgname-server" "$pkgdir/usr/bin/$pkgname-server"
+
+  # will be removed soon
+  ln -s "/usr/bin/$pkgname" "$pkgdir/usr/bin/inn"
+
+  install -Dm 644 "client/$pkgname at .service" "$pkgdir/usr/lib/systemd/system/$pkgname at .service"
+  install -Dm 644 "client/$pkgname.target" "$pkgdir/usr/lib/systemd/system/$pkgname.target"
+  
+  install -Dm 644 "server/$pkgname-server at .service" "$pkgdir/usr/lib/systemd/system/$pkgname-server at .service"
+
+  for binary in "$pkgname" "$pkgname-server"; do
+    install -Dm 644 "doc/$binary.completions.bash" "$pkgdir/usr/share/bash-completion/completions/$binary"
+    install -Dm 644 "doc/$binary.completions.fish" "$pkgdir/usr/share/fish/vendor_completions.d/$binary.fish"
+    install -Dm 644 "doc/$binary.completions.zsh" "$pkgdir/usr/share/zsh/site-functions/_$binary"
+    install -Dm 644 "doc/$binary.8.gz" "$pkgdir/usr/share/man/man8/$binary.8.gz"
+  done
+
+  install -Dm 644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+  install -Dm 644 README.md "$pkgdir/usr/share/doc/$pkgname/README.md"
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list