summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorhaawda2022-02-20 17:37:59 +0100
committerhaawda2022-02-20 17:37:59 +0100
commitaac031edead59e8e99b999366f0f102224b316ad (patch)
tree38f3d6ea07d8bb2c60edc5447b3a3435913c65a7
parentd12faca3ef8283440c83458097d024f3ffeec066 (diff)
downloadaur-aac031edead59e8e99b999366f0f102224b316ad.tar.gz
longer pkgver function
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD6
2 files changed, 5 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index b46cdf7cdbd0..108510227821 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,9 @@
pkgbase = emacs-icicles
pkgdesc = an emacs library that enhances minibuffer completion
- pkgver = 2022.01.26
+ pkgver = 2022.01.26.r23741
pkgrel = 1
epoch = 2
- url = https://github.com/emacsmirror/icicles.git
+ url = https://www.emacswiki.org/emacs/Icicles
arch = any
license = GPL
depends = emacs-bookmarkplus
diff --git a/PKGBUILD b/PKGBUILD
index 4621ded47c5f..82e5234dae62 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,11 +3,11 @@
pkgname=emacs-icicles
epoch=2
-pkgver=2022.01.26 # Taken from icicles.el
+pkgver=2022.01.26.r23741 # Taken from icicles.el
pkgrel=1
pkgdesc="an emacs library that enhances minibuffer completion"
arch=('any')
-url="https://github.com/emacsmirror/icicles.git"
+url="https://www.emacswiki.org/emacs/Icicles"
depends=('emacs-bookmarkplus' 'emacs-hexrgb')
license=('GPL')
_base_url=https://www.emacswiki.org/emacs/download/
@@ -53,7 +53,7 @@ sha256sums=('3a7d914ccb5f38a9489c99f1aa39e9ba00bb697d41c2ee49160ee1123065933f'
'711f49803e9f74e4ddda7de8e470b5f83de3a0ab7c57b6d250db186701e99989')
pkgver() {
- echo $(awk '/Version/ {print $3}' icicles.el)
+ printf %s.r%s $(awk '/Version/ {print $3}' icicles.el) $(awk '/Update / {print $4}' icicles.el)
}
build() {