summaryrefslogtreecommitdiff
path: root/pcr
diff options
context:
space:
mode:
authorcoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2017-03-08 21:36:53 -0300
committercoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2017-03-08 21:36:53 -0300
commit5100656b405474c31b673167f805fef905f1f59c (patch)
tree2893943166bdd211ad052cb78c71b02a7faa4c39 /pcr
parentc480246fcd5f6e160d88f3e138f20d998e9d11e1 (diff)
downloadabslibre-5100656b405474c31b673167f805fef905f1f59c.tar.gz
abslibre-5100656b405474c31b673167f805fef905f1f59c.tar.bz2
abslibre-5100656b405474c31b673167f805fef905f1f59c.zip
tekdefense-automater-git-r88.42548cf-3: minor fix
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
}