diff options
author | Kenny Strawn | 2019-09-18 20:30:01 -0700 |
---|---|---|
committer | Kenny Strawn | 2019-09-18 20:30:01 -0700 |
commit | 8acfe412e785dcebe57447e1083220bfcb150fdb (patch) | |
tree | 32fbda7b4ab1e0fe6c5b34b344391802d5c96b82 /PKGBUILD | |
parent | 6aedca20c1412fe95c6b5d37c52a346a70a3cc82 (diff) | |
download | aur-8acfe412e785dcebe57447e1083220bfcb150fdb.tar.gz |
Fix versioning
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -6,11 +6,7 @@ pkgrel=1 pkgdesc="TriggerLinux build scripts" arch=("x86_64") url="https://github.com/realKennyStrawn93/$_pkgname" -if [ ! -d $_pkgname ]; then - pkgver=$(git clone $url.git &>/dev/null && cd $_pkgname && git rev-list --all | wc -l) -else - pkgver=$(git rev-list --all $_pkgname | wc -l) -fi +pkgver=$(date +%Y.%m.%d.$(git ls-remote $url | head -n1 | cut -c-40)) license=("GPL") depends=("bash") source=("git+$url.git#branch=master") |