[arch-commits] Commit in (4 files)

Felix Yan felixonmars at archlinux.org
Sun Jun 28 12:11:23 UTC 2020


    Date: Sunday, June 28, 2020 @ 12:11:22
  Author: felixonmars
Revision: 655124

addpkg: microsocks 1.0.1-1

Added:
  microsocks/
  microsocks/repos/
  microsocks/trunk/
  microsocks/trunk/PKGBUILD

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

Added: microsocks/trunk/PKGBUILD
===================================================================
--- microsocks/trunk/PKGBUILD	                        (rev 0)
+++ microsocks/trunk/PKGBUILD	2020-06-28 12:11:22 UTC (rev 655124)
@@ -0,0 +1,24 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=microsocks
+pkgver=1.0.1
+pkgrel=1
+pkgdesc='Tiny, portable SOCKS5 server with very moderate resource usage'
+arch=('x86_64')
+url='https://github.com/rofl0r/microsocks'
+license=('MIT')
+depends=('glibc')
+source=(https://github.com/rofl0r/microsocks/archive/v$pkgver/$pkgname-$pkgver.tar.gz)
+sha512sums=('cc0d848f07a6349d7a3a1484170e7da621a971107afb498edf8729bd54d80d158a0e47c4a44bb8ece7a018e6c9b7a253b738509a2c0cc38279599e5ffb939c1f')
+
+build() {
+  cd $pkgname-$pkgver
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make prefix=/usr DESTDIR="$pkgdir" install
+
+  install -Dm644 COPYING -t "$pkgdir"/usr/share/licenses/$pkgname/
+}


More information about the arch-commits mailing list