summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-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() {