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

Levente Polyak anthraxx at archlinux.org
Thu May 10 15:17:30 UTC 2018


    Date: Thursday, May 10, 2018 @ 15:17:30
  Author: anthraxx
Revision: 320398

archrelease: copy trunk to community-x86_64

Added:
  rshijack/repos/community-x86_64/
  rshijack/repos/community-x86_64/PKGBUILD
    (from rev 320397, rshijack/trunk/PKGBUILD)

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

Copied: rshijack/repos/community-x86_64/PKGBUILD (from rev 320397, rshijack/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2018-05-10 15:17:30 UTC (rev 320398)
@@ -0,0 +1,29 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: kpcyrd <git at rxv.cc>
+
+pkgname=rshijack
+pkgver=0.3.0
+pkgrel=2
+pkgdesc='TCP connection hijacker, rust rewrite of shijack'
+url='https://github.com/kpcyrd/rshijack'
+depends=('gcc-libs')
+makedepends=('cargo')
+arch=('x86_64')
+license=('GPL3')
+source=(${pkgname}-${pkgver}.tar.gz::https://github.com/kpcyrd/${pkgname}/archive/v${pkgver}.tar.gz)
+sha256sums=('f9cc6be73002f6dff621eafb6570fcf876c234142489b3c7f84012d9dc8239e3')
+sha512sums=('357d2cf47c73213d24546300c5e90ea01d6bbd196a736fb886ac65a02742ce4ca35f8c4bfd93c3d61ad3e82bdbae10d7b8a82101811cf8fbc96d01299b23007b')
+
+build() {
+  cd ${pkgname}-${pkgver}
+  cargo build --release --locked
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+  install -Dm 755 target/release/${pkgname} "${pkgdir}/usr/bin/${pkgname}"
+  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