summaryrefslogtreecommitdiff
path: root/pcr
diff options
context:
space:
mode:
Diffstat (limited to 'pcr')
-rw-r--r--pcr/tekdefense-automater-git/PKGBUILD7
1 files changed, 2 insertions, 5 deletions
diff --git a/pcr/tekdefense-automater-git/PKGBUILD b/pcr/tekdefense-automater-git/PKGBUILD
index dea367576..1326a32fb 100644
--- a/pcr/tekdefense-automater-git/PKGBUILD
+++ b/pcr/tekdefense-automater-git/PKGBUILD
@@ -3,13 +3,12 @@
_pkgname='tekdefense-automater'
pkgname='tekdefense-automater-git'
-pkgver=88.42548cf
+pkgver=r88.42548cf
pkgrel=3
pkgdesc='IP URL and MD5 OSINT Analysis'
arch=('any')
url='https://github.com/1aN0rmus/TekDefense-Automater'
license=('MIT')
-replaces=("$_pkgname")
conflicts=("$_pkgname")
provides=("$_pkgname")
depends=('python2')
@@ -19,13 +18,11 @@ sha1sums=('SKIP')
pkgver() {
cd "$srcdir/TekDefense-Automater"
-
- echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD)
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
prepare() {
cd "$srcdir/TekDefense-Automater"
-
sed -i 's|/usr/bin/python|/usr/bin/python2|g' Automater.py
}