summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSofiane Hamlaoui2020-09-16 22:36:58 +0200
committerSofiane Hamlaoui2020-09-16 22:36:58 +0200
commit7ec1c9fd5e7b9e90b391ebc8608566b43d502458 (patch)
tree6a1c3b41ffc10313cd624611411db93e476e181d
parent9489de7fefaee65f67927c3b61e0cdf854883622 (diff)
downloadaur-lockdoor.tar.gz
X
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD6
2 files changed, 5 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index a4b2037d0b9..a52013e9348 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,4 +1,4 @@
-pkgbase = lockdoor-git
+pkgbase = lockdoor
pkgdesc = A penetration testing framework with cyber security resources
pkgver = 2.2.4
pkgrel = 1
@@ -26,5 +26,5 @@ pkgbase = lockdoor-git
source = lockdoor-framework::git+https://github.com/Lockdoor-Framework/Lockdoor-Framework
sha256sums = SKIP
-pkgname = lockdoor-git
+pkgname = lockdoor
diff --git a/PKGBUILD b/PKGBUILD
index 8c2d2674165..ef590d2360f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
# Maintainer: Sofiane Hamlaoui <s0fianehaml40u1 at gmail dot com>
-pkgname=lockdoor-git
+pkgname=lockdoor
_pkgname=lockdoor-framework
pkgver=2.2.4
pkgrel=1
@@ -19,8 +19,8 @@ source=("${_pkgname}::git+https://github.com/Lockdoor-Framework/Lockdoor-Framewo
sha256sums=(SKIP)
pkgver() {
- cd "$pkgname"
- git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
+ ver=$(curl -s -L https://raw.githubusercontent.com/SofianeHamlaoui/Lockdoor-Framework/master/VERSION)
+ printf "$ver"
}
package() {