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

Morten Linderud foxboron at archlinux.org
Sat Feb 27 16:10:26 UTC 2021


    Date: Saturday, February 27, 2021 @ 16:10:26
  Author: foxboron
Revision: 875223

upgpkg: evilginx 2.4.0-1 - Rebuild and removal of dep

Modified:
  evilginx/trunk/PKGBUILD

----------+
 PKGBUILD |   25 +++++++++++--------------
 1 file changed, 11 insertions(+), 14 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-02-27 16:10:14 UTC (rev 875222)
+++ PKGBUILD	2021-02-27 16:10:26 UTC (rev 875223)
@@ -3,26 +3,18 @@
 
 pkgname=evilginx
 pkgdesc='Man-in-the-middle attack framework used for phishing login credentials'
-pkgver=2.3.0
-pkgrel=6
+pkgver=2.4.0
+pkgrel=1
 url='https://github.com/kgretzky/evilginx2'
 license=('GPL3')
 arch=('x86_64')
 depends=('glibc')
-makedepends=('go' 'git' 'dep')
+makedepends=('go' 'git')
 source=(https://github.com/kgretzky/evilginx2/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz)
-sha512sums=('385926bbd0a37568a4fa9fc9e500bd622a14209ecf0d60ff8b93e6e45b3d59b0649fe9f0c5571f6eade58e025d25a84f24bce9b64a63163939eabdea937bac69')
+sha512sums=('9023569cfddf49eeef3231b3e3a58db79e268ce14f2f1a1a6122135ff7268f0993de4fc14766c8033f4a70d5995bdcf7aeb93d498feb815fba83e606e43cc333')
 
-prepare() {
-  export GOPATH="${srcdir}/go"
-  mkdir -p go/src/github.com/kgretzky
-  ln -rTsf evilginx2-${pkgver} go/src/github.com/kgretzky/evilginx2
-}
-
 build() {
-  cd go/src/github.com/kgretzky/evilginx2
-  export GOPATH="${srcdir}/go"
-  dep ensure -v
+  cd "${pkgname}2-${pkgver}"
   export CGO_CPPFLAGS="${CPPFLAGS}"
   export CGO_CFLAGS="${CFLAGS}"
   export CGO_CXXFLAGS="${CXXFLAGS}"
@@ -31,8 +23,13 @@
   go build -v -o ./bin/evilginx main.go
 }
 
+check() {
+  cd "${pkgname}2-${pkgver}"
+  go test ./...
+}
+
 package() {
-  cd go/src/github.com/kgretzky/evilginx2
+  cd "${pkgname}2-${pkgver}"
   install -Dm 755 bin/evilginx -t "${pkgdir}/usr/bin"
   install -Dm 644 phishlets/* -t "${pkgdir}/usr/share/evilginx/phishlets"
   install -Dm 644 README.md CHANGELOG -t "${pkgdir}/usr/share/doc/${pkgname}"



More information about the arch-commits mailing list