summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorAlexander Blinne2019-10-07 13:56:50 +0200
committerAlexander Blinne2019-10-07 13:56:50 +0200
commit1c708b52f82e429d3edf3274d28bcaf4bebe11a1 (patch)
treeba1084520f7abc1ac01613b46021b6c7a0987d1e /PKGBUILD
parent4cd5eb5576a0717a8be5fb46c99112b71c31c2ab (diff)
downloadaur-1c708b52f82e429d3edf3274d28bcaf4bebe11a1.tar.gz
Added auto-update of pkgver by date
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD6
1 files changed, 5 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 03147df1d8e..001aa8b9714 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
# original code by Sunday87: https://bbs.archlinux.org/viewtopic.php?pid=1253365#p1253365
pkgname=texlive-most-doc
-pkgver=20190919
+pkgver=20191007
pkgrel=1
pkgdesc="Most TeXLive documentation"
url="http://tug.org/texlive/"
@@ -14,6 +14,10 @@ makedepends=('rsync')
install='texlive-most-doc.install'
options=('!strip' '!purge')
+pkgver() {
+ date -I | tr -d '-'
+}
+
build() {
mkdir -p "$srcdir/usr/share/texmf-dist"
mkdir -p "$srcdir/usr/share/tlpkg"