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