diff options
author | Andy Weidenbaum | 2018-06-12 12:32:03 -0400 |
---|---|---|
committer | Andy Weidenbaum | 2018-06-12 12:32:03 -0400 |
commit | fb38bccd3862c6de349127dd898a50a429356d73 (patch) | |
tree | ef8b9b36f448c6dec6ee63e72335ded27d25250a | |
parent | 159da1c77a2477bb9c38b40d911fb2862cd73ce3 (diff) | |
download | aur-fb38bccd3862c6de349127dd898a50a429356d73.tar.gz |
update pkgver to 20180612, building pdf optional
-rw-r--r-- | .SRCINFO | 7 | ||||
-rw-r--r-- | PKGBUILD | 15 |
2 files changed, 12 insertions, 10 deletions
@@ -1,15 +1,10 @@ -# Generated by mksrcinfo v8 -# Tue Dec 19 23:04:19 UTC 2017 pkgbase = nim-git - pkgver = 20170710 + pkgver = 20180612 pkgrel = 1 arch = i686 arch = x86_64 groups = nim makedepends = git - makedepends = texlive-bin - makedepends = texlive-core - makedepends = texlive-fontsextra source = git+https://github.com/nim-lang/Nim source = git+https://github.com/nim-lang/Nim.wiki source = git+https://github.com/nim-lang/csources @@ -5,13 +5,18 @@ # Contributor: Jesus Alvarez <jeezusjr@gmail.com> # Contributor: Zion Nimchuk <zionnimchuk@gmail.com> +# build PDF documentation +_pdf=false + pkgbase=nim-git pkgname=('nim-git' 'nimble-git' 'nimsuggest-git') -pkgver=20170710 +pkgver=20180612 pkgrel=1 arch=('i686' 'x86_64') groups=('nim') -makedepends=('git' 'texlive-bin' 'texlive-core' 'texlive-fontsextra') +makedepends=('git') +[[ "$_pdf" == true ]] \ + && makedepends+=('texlive-bin' 'texlive-core' 'texlive-fontsextra') source=(git+https://github.com/nim-lang/Nim git+https://github.com/nim-lang/Nim.wiki git+https://github.com/nim-lang/csources @@ -42,8 +47,10 @@ build() { ./bin/nim c -d:release koch ./koch boot -d:release -d:nativeStacktrace -d:useGnuReadline - msg2 'Building Nim PDF documentation...' - ./koch pdf + if [[ "$_pdf" == true ]]; then + msg2 'Building Nim PDF documentation...' + ./koch pdf + fi msg2 'Building Nimble...' ./koch nimble |