summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSiôn le Roux2017-11-24 11:19:08 +0100
committerSiôn le Roux2017-11-24 11:31:01 +0100
commit8ae94c712111d252a395b0294f6d88b554ac8488 (patch)
treed492d37fd903b80df9446cbc82984d2c565d1f85
parenta428fb48a99470d79e45322835bc6010c656092c (diff)
downloadaur-8ae94c712111d252a395b0294f6d88b554ac8488.tar.gz
Include generated version in VCS
The VERSION text from the PKGBUILD template is just a placeholder. The docs state: > To use pkgver(), you still need to declare the pkgver variable with the most recent value. The value is generated there by makepkg, it just needs to be included in the PKGBUILD and committed to source control. To apply this in AUR the pkgrel also needs to be bumped, because there's no upstream change.
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 3 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index bd8ec1a96b76..5c539334985f 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = latex-solarized-git
pkgdesc = Provides three LaTeX packages for using the Solarized theme in LaTeX code listings.
pkgver = r6.11b24e9
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/jez/latex-solarized
install = latex-solarized-git.install
arch = any
diff --git a/PKGBUILD b/PKGBUILD
index 4f0aba8cb337..9dff150af2ba 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,8 +3,8 @@
# https://github.com/sinisterstuf/PKGBUILD-latex-solarized
pkgname=latex-solarized-git
-pkgver=VERSION
-pkgrel=1
+pkgver=r6.11b24e9
+pkgrel=2
pkgdesc="Provides three LaTeX packages for using the Solarized theme in LaTeX code listings."
arch=('any')
url="https://github.com/jez/latex-solarized"