summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorSofiane Hamlaoui2020-09-16 22:30:59 +0200
committerSofiane Hamlaoui2020-09-16 22:30:59 +0200
commit9489de7fefaee65f67927c3b61e0cdf854883622 (patch)
tree5d98957fbb2ef4fb1c8b1f925b013a77cb775bc4 /PKGBUILD
parente8223fc914471be83c693b2d72087174411f644f (diff)
downloadaur-9489de7fefaee65f67927c3b61e0cdf854883622.tar.gz
Fixing
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD6
1 files changed, 3 insertions, 3 deletions
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() {