[arch-commits] Commit in (gsocket gsocket/repos gsocket/trunk gsocket/trunk/PKGBUILD)

Levente Polyak anthraxx at gemini.archlinux.org
Tue Nov 9 19:20:49 UTC 2021


    Date: Tuesday, November 9, 2021 @ 19:20:49
  Author: anthraxx
Revision: 1039403

gsocket 1.4.33-1

Added:
  gsocket/
  gsocket/repos/
  gsocket/trunk/
  gsocket/trunk/PKGBUILD

----------+
 PKGBUILD |   35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

Added: gsocket/trunk/PKGBUILD
===================================================================
--- gsocket/trunk/PKGBUILD	                        (rev 0)
+++ gsocket/trunk/PKGBUILD	2021-11-09 19:20:49 UTC (rev 1039403)
@@ -0,0 +1,35 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+
+pkgname=gsocket
+pkgver=1.4.33
+pkgrel=1
+pkgdesc='Global Socket moving data from here to there securely, fast and trough NAT/Firewalls'
+url='https://www.gsocket.io/'
+arch=('x86_64')
+license=('custom')
+depends=('glibc' 'bash' 'openssl' 'rsync' 'sshfs' 'openssh' 'grep' 'binutils' 'coreutils')
+source=("https://github.com/hackerschoice/gsocket/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz")
+sha512sums=('2eefbd52a387c57d633eb896397432147658e716223cc83562cbfc3011524bc8b8ce1ca1cfa27e1c2c61d52c09dd04107a7b58d0e448dd78b66487376e148169')
+b2sums=('68debc5b6a8cf7e367c155d38aa1fdef81acb158a3f88a8598510e27ba831a352d5b3cd1332137da195b2ee23374eae27437270278b15ed52b73d42950f87254')
+
+prepare() {
+  cd ${pkgname}-${pkgver}
+  autoreconf -fiv
+}
+
+build() {
+  cd ${pkgname}-${pkgver}
+  ./configure \
+    --prefix=/usr \
+    --sysconfdir=/etc
+  make
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+  make DESTDIR="${pkgdir}" install
+  install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+  install -Dm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list