diff options
author | haawda | 2018-02-05 21:12:01 +0100 |
---|---|---|
committer | haawda | 2018-02-05 21:12:01 +0100 |
commit | c4e555a0ba0a98d4f6cd520b82b8e63fd51495df (patch) | |
tree | ad1d1e8513ac5cc3b5499a78474c6419a7200952 | |
parent | aac94858a44fede8bdf34407ab9e2dba96c7b79b (diff) | |
download | aur-c4e555a0ba0a98d4f6cd520b82b8e63fd51495df.tar.gz |
better pkgver function, add epoch
-rw-r--r-- | .SRCINFO | 5 | ||||
-rw-r--r-- | PKGBUILD | 9 |
2 files changed, 9 insertions, 5 deletions
@@ -1,9 +1,8 @@ -# Generated by mksrcinfo v8 -# Mon Dec 11 23:01:42 UTC 2017 pkgbase = emacs-icicles pkgdesc = an emacs library that enhances minibuffer completion - pkgver = 23716 + pkgver = 2018.01.15 pkgrel = 1 + epoch = 1 url = http://www.emacswiki.org/emacs/Icicles install = icicles.install arch = any @@ -2,7 +2,8 @@ # Maintainer: Stefan Husmann <stefan-husmann@t-online.de> pkgname=emacs-icicles -pkgver=23716 # Taken from icicles.el +epoch=1 +pkgver=2018.01.15 # Taken from icicles.el pkgrel=1 pkgdesc="an emacs library that enhances minibuffer completion" arch=('any') @@ -17,7 +18,11 @@ pkgver() { cd icicles wget http://www.emacswiki.org/emacs/download/icicles{,-chg,-cmd1,-cmd2,-doc1,-doc2,-face,-fn,-mac,-mcmd,-mode,-opt,-var}.el - echo $(awk '/Update #:/ {print $4}' icicles.el) + echo $(awk '/Version/ {print $3}' icicles.el) +} + +build() { + cd icicles emacs -Q -batch -L . -f batch-byte-compile *.el || true } |