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

Orhun Parmaksiz orhun at gemini.archlinux.org
Thu Nov 11 21:03:22 UTC 2021


    Date: Thursday, November 11, 2021 @ 21:03:22
  Author: orhun
Revision: 1042405

archrelease: copy trunk to community-x86_64

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-11-11 21:03:14 UTC (rev 1042404)
+++ PKGBUILD	2021-11-11 21:03:22 UTC (rev 1042405)
@@ -1,54 +0,0 @@
-# Maintainer: Orhun Parmaksız <orhun at archlinux.org>
-# Contributor: Jake McGinty <jake at tonari.no>
-
-pkgname=innernet
-pkgver=1.5.0
-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=('b5e283e1953f9183e2c77814fa6b39f08f4914509ff17f91f94599824693bed2')
-
-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 1042404, innernet/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-11-11 21:03:22 UTC (rev 1042405)
@@ -0,0 +1,54 @@
+# 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:



More information about the arch-commits mailing list