summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorT. Witt2017-07-23 22:06:21 +0200
committerT. Witt2017-07-23 22:06:21 +0200
commit8abfc84003910c077d40978a75d65402cd929ec9 (patch)
treed9b292a944db02f3398029daa166cdc904b7250d
parent0ca47e33bf9a32a0c2af4363f1170c5b4fd00817 (diff)
downloadaur-plasma5-applets-analog24hclock.tar.gz
r5.5043d8f
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD10
2 files changed, 4 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 03e33eac5c9..1a66c177ef7 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = plasma5-applets-analog24hclock
pkgdesc = Analog 24h clock
- pkgver = 99999999
+ pkgver = r5.5043d8f
pkgrel = 1
url = https://github.com/sleepywitti/analog24hclock-plasmoid/
arch = any
diff --git a/PKGBUILD b/PKGBUILD
index 475dbd6df9a..dbb480fab9c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
# Maintainer: T. Witt
pkgname=plasma5-applets-analog24hclock
-pkgver=99999999
+pkgver=r5.5043d8f
pkgrel=1
pkgdesc="Analog 24h clock"
arch=('any')
@@ -13,16 +13,12 @@ md5sums=('SKIP')
pkgver() {
cd "$srcdir/${pkgname}"
-
- ( set -o pipefail
- git describe --long 2>/dev/null | sed 's/\([^-]*-g\)/r\1/;s/-/./g' ||
- printf "r%s.%s" "$(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/${pkgname%-git}"
- mkdir build
+ mkdir -p build
}
build() {