[arch-commits] Commit in nim/repos/community-x86_64 (PKGBUILD PKGBUILD)
Date: Monday, December 14, 2020 @ 23:44:59 Author: anthraxx Revision: 775802 archrelease: copy trunk to community-x86_64 Added: nim/repos/community-x86_64/PKGBUILD (from rev 775801, nim/trunk/PKGBUILD) Deleted: nim/repos/community-x86_64/PKGBUILD --+ PKGBUILD | 216 ++--- 1 file changed, 108 insertions(+), 108 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2020-12-14 23:44:54 UTC (rev 775801) +++ PKGBUILD2020-12-14 23:44:59 UTC (rev 775802) @@ -1,108 +0,0 @@ -# Maintainer: Levente Polyak -# Contributor: Alexander F Rødseth -# Contributor: Dominik Picheta -# Contributor: Sven-Hendrik Haase -# Contributor: Jesus Alvarez - -pkgname=nim -_pkgname=Nim -pkgver=1.4.0 -_csourcesver=0.20.0 -pkgrel=1 -pkgdesc='Imperative, multi-paradigm, compiled programming language' -url='https://nim-lang.org/' -arch=('x86_64') -license=('MIT') -depends=('bash') -makedepends=('git') -optdepends=('nimble: Nim package manager') -options=('!emptydirs') -backup=( - etc/nim/nim.cfg - etc/nim/nimdoc.cfg - etc/nim/nimdoc.tex.cfg - etc/nim/rename.rules.cfg -) -source=(https://github.com/nim-lang/Nim/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz - https://github.com/nim-lang/csources/archive/v${_csourcesver}/csources-${_csourcesver}.tar.gz) -sha256sums=('3918ff1834888cd3feec5002931d4052a354994a0355bf1ae950f2f17ba81417' -'5e6fd15d90df1a8cb7614c4ffc70aa8c4198cd854d7742016202b96dd0228d3c') -b2sums=('de4591afcad01e8d4ff2a38f364e127c1b82cde2662d891d4c3d9361a29e498813d6acc75eefc3cfb4c26fff0232f5b4a262e00455461243148d4cec8bff7570' - 'a1c026aa4ecd676d938d00f13f749b7c21094f87de98055ef0002bc96cafb81a780b7d82adfa3927bb32b0eb52c8047ac2b2c98d0ab3b9af0dd8c8ebeffad50b') - -prepare() { - cd ${_pkgname}-${pkgver} - mv ../csources-${_csourcesver} csources - rm bin/empty.txt - for nimcfg in {compiler,config}/nim.cfg; do -echo "gcc.options.always %= \"\${gcc.options.always} ${CFLAGS:-} ${CPPFLAGS}\"" >> "${nimcfg}" -echo "gcc.options.linker %= \"\${gcc.options.linker} ${LDFLAGS:-}\"" >> "${nimcfg}" - done -} - -build() { - cd ${_pkgname}-${pkgver} - export PATH="${srcdir}/${_pkgname}-${pkgver}/bin:${PATH}" - - msg2 "Building nim" - (cd csources -sh build.sh - ) - msg2 "Building koch" - nim c -d:release koch - ./koch boot -d:release -d:nativeStacktrace -d:useGnuReadline - - msg2 "Building libs" - (cd lib -nim c --app:lib -d:createNimRtl -d:release nimrtl.nim - ) - - msg2 "Building tools" - ./koch tools - (cd tools -nim c -d:release nimgrep.nim - ) - msg2 "Building nimsuggest" - nim c -d:release nimsuggest/nimsuggest.nim -} - -package() { - cd ${_pkgname}-${pkgver} - export PATH="${srcdir}/${_pkgname}-${pkgver}/bin:${PATH}" - - ./koch install "${pkgdir}" - - install -d "${pkgdir}/usr/lib" - cp -a lib "${pkgdir}/usr/lib/nim" - cp -a compiler "${pkgdir}/usr/lib/nim" - install -Dm 644 compiler.nimble "${pkgdir}/usr/lib/nim/compiler" - install -m 755 lib/libnimrtl.so "${pkgdir}/usr/lib/libnimrtl.so" - - # Fix FS#48118, related to the doc2 command - ln -s /usr/share/nim/doc "${pkgdir}/usr/lib/nim/doc" - - install -Dm 644 config/* -t "${pkgdir}/etc/nim" - install -Dm 755 bin/* -t "${pkgdir}/usr/bin" - - # Fix FS#50252, unusual placement of header files - install -d "${pkgdir}/usr/include" - cp -a "${pkgdir}/usr/lib/nim/"*.h "${pkgdir}/usr/include" - - install -d "${pkgdir}/usr/share/nim/doc" - cp -a examples doc/* "${pkgdir}/usr/share/nim/doc" - - install -Dm 644 copying.txt -t "${pkgdir}/usr/share/licenses/${pkgname}" - - # completions - for comp in tools/*.bash-completion; do -install -Dm 644 "${comp}" "${pkgdir}/usr/share/bash-completion/completions/$(basename "${comp/.bash-completion}")" - done - for comp in tools/*.zsh-completion; do -install -Dm 644 "${comp}" "${pkgdir}/usr/share/zsh/site-functions/_$(basename "${comp/.zsh-completion}")" - done - - rm -r "${pkgdir}/nim" - rm "${pkgdir}/usr/bin/nimble" -} - -# vim: ts=2 sw=2 et: Copied: nim/repos/community-x86_64/PKGBUILD (from rev 775801, nim/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2020-12-14 23:44:59 UTC (rev 775802) @@ -0,0 +1,108 @@ +# Maintainer: Levente Polyak +# Contributor: Alexander F Rødseth +# Contributor: Dominik Picheta +# Contributor: Sven-Hendrik Haase +# Contributor: Jesus Alvarez + +pkgname=nim +_pkgname=Nim +pkgver=1.4.2 +_csourcesver=0.20.0 +pkgrel=1 +pkgdesc='Imperative, multi-paradigm, compiled programming language' +url='https://nim-lang.org/' +arch=('x86_64') +license=('MIT') +depends=('bash') +makedepends=('git') +optdepends=('nimble: Nim package manager') +options=('!emptydirs') +backup=( + etc/nim/nim.cfg + etc/nim/nimdoc.cfg + etc/nim/nimdoc.tex.cfg + etc/nim/rename.rules.cfg +)
[arch-commits] Commit in nim/repos/community-x86_64 (PKGBUILD PKGBUILD)
Date: Friday, October 16, 2020 @ 20:09:44 Author: anthraxx Revision: 724937 archrelease: copy trunk to community-x86_64 Added: nim/repos/community-x86_64/PKGBUILD (from rev 724936, nim/trunk/PKGBUILD) Deleted: nim/repos/community-x86_64/PKGBUILD --+ PKGBUILD | 216 ++--- 1 file changed, 108 insertions(+), 108 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2020-10-16 20:09:40 UTC (rev 724936) +++ PKGBUILD2020-10-16 20:09:44 UTC (rev 724937) @@ -1,108 +0,0 @@ -# Maintainer: Levente Polyak -# Contributor: Alexander F Rødseth -# Contributor: Dominik Picheta -# Contributor: Sven-Hendrik Haase -# Contributor: Jesus Alvarez - -pkgname=nim -_pkgname=Nim -pkgver=1.2.6 -_csourcesver=0.20.0 -pkgrel=1 -pkgdesc='Imperative, multi-paradigm, compiled programming language' -url='https://nim-lang.org/' -arch=('x86_64') -license=('MIT') -depends=('bash') -makedepends=('git') -optdepends=('nimble: Nim package manager') -options=('!emptydirs') -backup=( - etc/nim/nim.cfg - etc/nim/nimdoc.cfg - etc/nim/nimdoc.tex.cfg - etc/nim/rename.rules.cfg -) -source=(https://github.com/nim-lang/Nim/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz - https://github.com/nim-lang/csources/archive/v${_csourcesver}/csources-${_csourcesver}.tar.gz) -sha256sums=('dbd5f1784ab121071aa7c58bb6b361cca79d12ac7524c761e27200e0c946e359' -'5e6fd15d90df1a8cb7614c4ffc70aa8c4198cd854d7742016202b96dd0228d3c') -b2sums=('e7f66db14197fc9b1e83d1523a8e1fa92c009758409634bae5426c14d6970ca24016d468445797bf107119c752e01540c0881926a53cdf1d93bbb3c1228a2bdb' - 'a1c026aa4ecd676d938d00f13f749b7c21094f87de98055ef0002bc96cafb81a780b7d82adfa3927bb32b0eb52c8047ac2b2c98d0ab3b9af0dd8c8ebeffad50b') - -prepare() { - cd ${_pkgname}-${pkgver} - mv ../csources-${_csourcesver} csources - rm bin/empty.txt - for nimcfg in {compiler,config}/nim.cfg; do -echo "gcc.options.always %= \"\${gcc.options.always} ${CFLAGS:-} ${CPPFLAGS}\"" >> "${nimcfg}" -echo "gcc.options.linker %= \"\${gcc.options.linker} ${LDFLAGS:-}\"" >> "${nimcfg}" - done -} - -build() { - cd ${_pkgname}-${pkgver} - export PATH="${srcdir}/${_pkgname}-${pkgver}/bin:${PATH}" - - msg2 "Building nim" - (cd csources -sh build.sh - ) - msg2 "Building koch" - nim c -d:release koch - ./koch boot -d:release -d:nativeStacktrace -d:useGnuReadline - - msg2 "Building libs" - (cd lib -nim c --app:lib -d:createNimRtl -d:release nimrtl.nim - ) - - msg2 "Building tools" - ./koch tools - (cd tools -nim c -d:release nimgrep.nim - ) - msg2 "Building nimsuggest" - nim c -d:release nimsuggest/nimsuggest.nim -} - -package() { - cd ${_pkgname}-${pkgver} - export PATH="${srcdir}/${_pkgname}-${pkgver}/bin:${PATH}" - - ./koch install "${pkgdir}" - - install -d "${pkgdir}/usr/lib" - cp -a lib "${pkgdir}/usr/lib/nim" - cp -a compiler "${pkgdir}/usr/lib/nim" - install -Dm 644 compiler.nimble "${pkgdir}/usr/lib/nim/compiler" - install -m 755 lib/libnimrtl.so "${pkgdir}/usr/lib/libnimrtl.so" - - # Fix FS#48118, related to the doc2 command - ln -s /usr/share/nim/doc "${pkgdir}/usr/lib/nim/doc" - - install -Dm 644 config/* -t "${pkgdir}/etc/nim" - install -Dm 755 bin/* -t "${pkgdir}/usr/bin" - - # Fix FS#50252, unusual placement of header files - install -d "${pkgdir}/usr/include" - cp -a "${pkgdir}/usr/lib/nim/"*.h "${pkgdir}/usr/include" - - install -d "${pkgdir}/usr/share/nim/doc" - cp -a examples doc/* "${pkgdir}/usr/share/nim/doc" - - install -Dm 644 copying.txt -t "${pkgdir}/usr/share/licenses/${pkgname}" - - # completions - for comp in tools/*.bash-completion; do -install -Dm 644 "${comp}" "${pkgdir}/usr/share/bash-completion/completions/$(basename "${comp/.bash-completion}")" - done - for comp in tools/*.zsh-completion; do -install -Dm 644 "${comp}" "${pkgdir}/usr/share/zsh/site-functions/_$(basename "${comp/.zsh-completion}")" - done - - rm -r "${pkgdir}/nim" - rm "${pkgdir}/usr/bin/nimble" -} - -# vim: ts=2 sw=2 et: Copied: nim/repos/community-x86_64/PKGBUILD (from rev 724936, nim/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2020-10-16 20:09:44 UTC (rev 724937) @@ -0,0 +1,108 @@ +# Maintainer: Levente Polyak +# Contributor: Alexander F Rødseth +# Contributor: Dominik Picheta +# Contributor: Sven-Hendrik Haase +# Contributor: Jesus Alvarez + +pkgname=nim +_pkgname=Nim +pkgver=1.4.0 +_csourcesver=0.20.0 +pkgrel=1 +pkgdesc='Imperative, multi-paradigm, compiled programming language' +url='https://nim-lang.org/' +arch=('x86_64') +license=('MIT') +depends=('bash') +makedepends=('git') +optdepends=('nimble: Nim package manager') +options=('!emptydirs') +backup=( + etc/nim/nim.cfg + etc/nim/nimdoc.cfg + etc/nim/nimdoc.tex.cfg + etc/nim/rename.rules.cfg +)
[arch-commits] Commit in nim/repos/community-x86_64 (PKGBUILD PKGBUILD)
Date: Monday, August 24, 2020 @ 22:35:50 Author: anthraxx Revision: 687876 archrelease: copy trunk to community-x86_64 Added: nim/repos/community-x86_64/PKGBUILD (from rev 687875, nim/trunk/PKGBUILD) Deleted: nim/repos/community-x86_64/PKGBUILD --+ PKGBUILD | 216 ++--- 1 file changed, 108 insertions(+), 108 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2020-08-24 22:35:46 UTC (rev 687875) +++ PKGBUILD2020-08-24 22:35:50 UTC (rev 687876) @@ -1,108 +0,0 @@ -# Maintainer: Levente Polyak -# Contributor: Alexander F Rødseth -# Contributor: Dominik Picheta -# Contributor: Sven-Hendrik Haase -# Contributor: Jesus Alvarez - -pkgname=nim -_pkgname=Nim -pkgver=1.2.4 -_csourcesver=0.20.0 -pkgrel=1 -pkgdesc='Imperative, multi-paradigm, compiled programming language' -url='https://nim-lang.org/' -arch=('x86_64') -license=('MIT') -depends=('bash') -makedepends=('git') -optdepends=('nimble: Nim package manager') -options=('!emptydirs') -backup=( - etc/nim/nim.cfg - etc/nim/nimdoc.cfg - etc/nim/nimdoc.tex.cfg - etc/nim/rename.rules.cfg -) -source=(https://github.com/nim-lang/Nim/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz - https://github.com/nim-lang/csources/archive/v${_csourcesver}/csources-${_csourcesver}.tar.gz) -sha256sums=('1449469c1d29b990de110b32370170509fd16fe171744acd06d62b9a2e0ca84f' -'5e6fd15d90df1a8cb7614c4ffc70aa8c4198cd854d7742016202b96dd0228d3c') -b2sums=('ed842c1b1d516c5e69f78f7449af01f70118dcb86be331fa1d463fa290bb8e4e2dca4f636efa73a5c8ec77658ed3ecf311eca5bbaf9436b5249088accf4f0dd6' - 'a1c026aa4ecd676d938d00f13f749b7c21094f87de98055ef0002bc96cafb81a780b7d82adfa3927bb32b0eb52c8047ac2b2c98d0ab3b9af0dd8c8ebeffad50b') - -prepare() { - cd ${_pkgname}-${pkgver} - mv ../csources-${_csourcesver} csources - rm bin/empty.txt - for nimcfg in {compiler,config}/nim.cfg; do -echo "gcc.options.always %= \"\${gcc.options.always} ${CFLAGS:-} ${CPPFLAGS}\"" >> "${nimcfg}" -echo "gcc.options.linker %= \"\${gcc.options.linker} ${LDFLAGS:-}\"" >> "${nimcfg}" - done -} - -build() { - cd ${_pkgname}-${pkgver} - export PATH="${srcdir}/${_pkgname}-${pkgver}/bin:${PATH}" - - msg2 "Building nim" - (cd csources -sh build.sh - ) - msg2 "Building koch" - nim c -d:release koch - ./koch boot -d:release -d:nativeStacktrace -d:useGnuReadline - - msg2 "Building libs" - (cd lib -nim c --app:lib -d:createNimRtl -d:release nimrtl.nim - ) - - msg2 "Building tools" - ./koch tools - (cd tools -nim c -d:release nimgrep.nim - ) - msg2 "Building nimsuggest" - nim c -d:release nimsuggest/nimsuggest.nim -} - -package() { - cd ${_pkgname}-${pkgver} - export PATH="${srcdir}/${_pkgname}-${pkgver}/bin:${PATH}" - - ./koch install "${pkgdir}" - - install -d "${pkgdir}/usr/lib" - cp -a lib "${pkgdir}/usr/lib/nim" - cp -a compiler "${pkgdir}/usr/lib/nim" - install -Dm 644 compiler.nimble "${pkgdir}/usr/lib/nim/compiler" - install -m 755 lib/libnimrtl.so "${pkgdir}/usr/lib/libnimrtl.so" - - # Fix FS#48118, related to the doc2 command - ln -s /usr/share/nim/doc "${pkgdir}/usr/lib/nim/doc" - - install -Dm 644 config/* -t "${pkgdir}/etc/nim" - install -Dm 755 bin/* -t "${pkgdir}/usr/bin" - - # Fix FS#50252, unusual placement of header files - install -d "${pkgdir}/usr/include" - cp -a "${pkgdir}/usr/lib/nim/"*.h "${pkgdir}/usr/include" - - install -d "${pkgdir}/usr/share/nim/doc" - cp -a examples doc/* "${pkgdir}/usr/share/nim/doc" - - install -Dm 644 copying.txt -t "${pkgdir}/usr/share/licenses/${pkgname}" - - # completions - for comp in tools/*.bash-completion; do -install -Dm 644 "${comp}" "${pkgdir}/usr/share/bash-completion/completions/$(basename "${comp/.bash-completion}")" - done - for comp in tools/*.zsh-completion; do -install -Dm 644 "${comp}" "${pkgdir}/usr/share/zsh/site-functions/_$(basename "${comp/.zsh-completion}")" - done - - rm -r "${pkgdir}/nim" - rm "${pkgdir}/usr/bin/nimble" -} - -# vim: ts=2 sw=2 et: Copied: nim/repos/community-x86_64/PKGBUILD (from rev 687875, nim/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2020-08-24 22:35:50 UTC (rev 687876) @@ -0,0 +1,108 @@ +# Maintainer: Levente Polyak +# Contributor: Alexander F Rødseth +# Contributor: Dominik Picheta +# Contributor: Sven-Hendrik Haase +# Contributor: Jesus Alvarez + +pkgname=nim +_pkgname=Nim +pkgver=1.2.6 +_csourcesver=0.20.0 +pkgrel=1 +pkgdesc='Imperative, multi-paradigm, compiled programming language' +url='https://nim-lang.org/' +arch=('x86_64') +license=('MIT') +depends=('bash') +makedepends=('git') +optdepends=('nimble: Nim package manager') +options=('!emptydirs') +backup=( + etc/nim/nim.cfg + etc/nim/nimdoc.cfg + etc/nim/nimdoc.tex.cfg + etc/nim/rename.rules.cfg +)
[arch-commits] Commit in nim/repos/community-x86_64 (PKGBUILD PKGBUILD)
Date: Thursday, July 16, 2020 @ 20:57:13 Author: anthraxx Revision: 664185 archrelease: copy trunk to community-x86_64 Added: nim/repos/community-x86_64/PKGBUILD (from rev 664184, nim/trunk/PKGBUILD) Deleted: nim/repos/community-x86_64/PKGBUILD --+ PKGBUILD | 216 ++--- 1 file changed, 108 insertions(+), 108 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2020-07-16 20:57:09 UTC (rev 664184) +++ PKGBUILD2020-07-16 20:57:13 UTC (rev 664185) @@ -1,108 +0,0 @@ -# Maintainer: Levente Polyak -# Contributor: Alexander F Rødseth -# Contributor: Dominik Picheta -# Contributor: Sven-Hendrik Haase -# Contributor: Jesus Alvarez - -pkgname=nim -_pkgname=Nim -pkgver=1.2.0 -_csourcesver=0.20.0 -pkgrel=1 -pkgdesc='Imperative, multi-paradigm, compiled programming language' -url='https://nim-lang.org/' -arch=('x86_64') -license=('MIT') -depends=('bash') -makedepends=('git') -optdepends=('nimble: Nim package manager') -options=('!emptydirs') -backup=( - etc/nim/nim.cfg - etc/nim/nimdoc.cfg - etc/nim/nimdoc.tex.cfg - etc/nim/rename.rules.cfg -) -source=(https://github.com/nim-lang/Nim/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz - https://github.com/nim-lang/csources/archive/v${_csourcesver}/csources-${_csourcesver}.tar.gz) -sha256sums=('0920fe06b724de03ace28ec63db2e71734c1ab77499cafe08289bce25be8d8a4' -'5e6fd15d90df1a8cb7614c4ffc70aa8c4198cd854d7742016202b96dd0228d3c') -b2sums=('32b0425129c25348b9def0a117492be6e6f5cf8ad40187ab8c4f9a98bd4a80a3ba126d69f4406eb7d5ee80f38a9fc33f56f33aa7eaa219c84b3937b3aa675e65' - 'a1c026aa4ecd676d938d00f13f749b7c21094f87de98055ef0002bc96cafb81a780b7d82adfa3927bb32b0eb52c8047ac2b2c98d0ab3b9af0dd8c8ebeffad50b') - -prepare() { - cd ${_pkgname}-${pkgver} - mv ../csources-${_csourcesver} csources - rm bin/empty.txt - for nimcfg in {compiler,config}/nim.cfg; do -echo "gcc.options.always %= \"\${gcc.options.always} ${CFLAGS:-} ${CPPFLAGS}\"" >> "${nimcfg}" -echo "gcc.options.linker %= \"\${gcc.options.linker} ${LDFLAGS:-}\"" >> "${nimcfg}" - done -} - -build() { - cd ${_pkgname}-${pkgver} - export PATH="${srcdir}/${_pkgname}-${pkgver}/bin:${PATH}" - - msg2 "Building nim" - (cd csources -sh build.sh - ) - msg2 "Building koch" - nim c -d:release koch - ./koch boot -d:release -d:nativeStacktrace -d:useGnuReadline - - msg2 "Building libs" - (cd lib -nim c --app:lib -d:createNimRtl -d:release nimrtl.nim - ) - - msg2 "Building tools" - ./koch tools - (cd tools -nim c -d:release nimgrep.nim - ) - msg2 "Building nimsuggest" - nim c -d:release nimsuggest/nimsuggest.nim -} - -package() { - cd ${_pkgname}-${pkgver} - export PATH="${srcdir}/${_pkgname}-${pkgver}/bin:${PATH}" - - ./koch install "${pkgdir}" - - install -d "${pkgdir}/usr/lib" - cp -a lib "${pkgdir}/usr/lib/nim" - cp -a compiler "${pkgdir}/usr/lib/nim" - install -Dm 644 compiler.nimble "${pkgdir}/usr/lib/nim/compiler" - install -m 755 lib/libnimrtl.so "${pkgdir}/usr/lib/libnimrtl.so" - - # Fix FS#48118, related to the doc2 command - ln -s /usr/share/nim/doc "${pkgdir}/usr/lib/nim/doc" - - install -Dm 644 config/* -t "${pkgdir}/etc/nim" - install -Dm 755 bin/* -t "${pkgdir}/usr/bin" - - # Fix FS#50252, unusual placement of header files - install -d "${pkgdir}/usr/include" - cp -a "${pkgdir}/usr/lib/nim/"*.h "${pkgdir}/usr/include" - - install -d "${pkgdir}/usr/share/nim/doc" - cp -a examples doc/* "${pkgdir}/usr/share/nim/doc" - - install -Dm 644 copying.txt -t "${pkgdir}/usr/share/licenses/${pkgname}" - - # completions - for comp in tools/*.bash-completion; do -install -Dm 644 "${comp}" "${pkgdir}/usr/share/bash-completion/completions/$(basename "${comp/.bash-completion}")" - done - for comp in tools/*.zsh-completion; do -install -Dm 644 "${comp}" "${pkgdir}/usr/share/zsh/site-functions/_$(basename "${comp/.zsh-completion}")" - done - - rm -r "${pkgdir}/nim" - rm "${pkgdir}/usr/bin/nimble" -} - -# vim: ts=2 sw=2 et: Copied: nim/repos/community-x86_64/PKGBUILD (from rev 664184, nim/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2020-07-16 20:57:13 UTC (rev 664185) @@ -0,0 +1,108 @@ +# Maintainer: Levente Polyak +# Contributor: Alexander F Rødseth +# Contributor: Dominik Picheta +# Contributor: Sven-Hendrik Haase +# Contributor: Jesus Alvarez + +pkgname=nim +_pkgname=Nim +pkgver=1.2.4 +_csourcesver=0.20.0 +pkgrel=1 +pkgdesc='Imperative, multi-paradigm, compiled programming language' +url='https://nim-lang.org/' +arch=('x86_64') +license=('MIT') +depends=('bash') +makedepends=('git') +optdepends=('nimble: Nim package manager') +options=('!emptydirs') +backup=( + etc/nim/nim.cfg + etc/nim/nimdoc.cfg + etc/nim/nimdoc.tex.cfg + etc/nim/rename.rules.cfg +)
[arch-commits] Commit in nim/repos/community-x86_64 (PKGBUILD PKGBUILD)
Date: Saturday, April 4, 2020 @ 13:20:32 Author: anthraxx Revision: 611590 archrelease: copy trunk to community-x86_64 Added: nim/repos/community-x86_64/PKGBUILD (from rev 611589, nim/trunk/PKGBUILD) Deleted: nim/repos/community-x86_64/PKGBUILD --+ PKGBUILD | 216 ++--- 1 file changed, 108 insertions(+), 108 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2020-04-04 13:20:27 UTC (rev 611589) +++ PKGBUILD2020-04-04 13:20:32 UTC (rev 611590) @@ -1,108 +0,0 @@ -# Maintainer: Levente Polyak -# Contributor: Alexander F Rødseth -# Contributor: Dominik Picheta -# Contributor: Sven-Hendrik Haase -# Contributor: Jesus Alvarez - -pkgname=nim -_pkgname=Nim -pkgver=1.0.6 -_csourcesver=0.20.0 -pkgrel=1 -pkgdesc='Imperative, multi-paradigm, compiled programming language' -url='https://nim-lang.org/' -arch=('x86_64') -license=('MIT') -depends=('bash') -makedepends=('git') -optdepends=('nimble: Nim package manager') -options=('!emptydirs') -backup=( - etc/nim/nim.cfg - etc/nim/nimdoc.cfg - etc/nim/nimdoc.tex.cfg - etc/nim/rename.rules.cfg -) -source=(https://github.com/nim-lang/Nim/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz - https://github.com/nim-lang/csources/archive/v${_csourcesver}/csources-${_csourcesver}.tar.gz) -sha256sums=('f5826ee7a00059243f00898a47e910fd89484f7aa8ad8c91e2b914a013b83ed0' -'5e6fd15d90df1a8cb7614c4ffc70aa8c4198cd854d7742016202b96dd0228d3c') -b2sums=('54ea0e13e7d56638d475c6882c081b0f2c4c080d6024a62f3e3b3167b94f90d46d4cf970cca68320e7eb3571238b2bcc4e0c69a5ec2cd54ce6c67f2f9825b2af' - 'a1c026aa4ecd676d938d00f13f749b7c21094f87de98055ef0002bc96cafb81a780b7d82adfa3927bb32b0eb52c8047ac2b2c98d0ab3b9af0dd8c8ebeffad50b') - -prepare() { - cd ${_pkgname}-${pkgver} - mv ../csources-${_csourcesver} csources - rm bin/empty.txt - for nimcfg in {compiler,config}/nim.cfg; do -echo "gcc.options.always %= \"\${gcc.options.always} ${CFLAGS:-} ${CPPFLAGS}\"" >> "${nimcfg}" -echo "gcc.options.linker %= \"\${gcc.options.linker} ${LDFLAGS:-}\"" >> "${nimcfg}" - done -} - -build() { - cd ${_pkgname}-${pkgver} - export PATH="${srcdir}/${_pkgname}-${pkgver}/bin:${PATH}" - - msg2 "Building nim" - (cd csources -sh build.sh - ) - msg2 "Building koch" - nim c -d:release koch - ./koch boot -d:release -d:nativeStacktrace -d:useGnuReadline - - msg2 "Building libs" - (cd lib -nim c --app:lib -d:createNimRtl -d:release nimrtl.nim - ) - - msg2 "Building tools" - ./koch tools - (cd tools -nim c -d:release nimgrep.nim - ) - msg2 "Building nimsuggest" - nim c -d:release nimsuggest/nimsuggest.nim -} - -package() { - cd ${_pkgname}-${pkgver} - export PATH="${srcdir}/${_pkgname}-${pkgver}/bin:${PATH}" - - ./koch install "${pkgdir}" - - install -d "${pkgdir}/usr/lib" - cp -a lib "${pkgdir}/usr/lib/nim" - cp -a compiler "${pkgdir}/usr/lib/nim" - install -Dm 644 compiler.nimble "${pkgdir}/usr/lib/nim/compiler" - install -m 755 lib/libnimrtl.so "${pkgdir}/usr/lib/libnimrtl.so" - - # Fix FS#48118, related to the doc2 command - ln -s /usr/share/nim/doc "${pkgdir}/usr/lib/nim/doc" - - install -Dm 644 config/* -t "${pkgdir}/etc/nim" - install -Dm 755 bin/* -t "${pkgdir}/usr/bin" - - # Fix FS#50252, unusual placement of header files - install -d "${pkgdir}/usr/include" - cp -a "${pkgdir}/usr/lib/nim/"*.h "${pkgdir}/usr/include" - - install -d "${pkgdir}/usr/share/nim/doc" - cp -a examples doc/* "${pkgdir}/usr/share/nim/doc" - - install -Dm 644 copying.txt -t "${pkgdir}/usr/share/licenses/${pkgname}" - - # completions - for comp in tools/*.bash-completion; do -install -Dm 644 "${comp}" "${pkgdir}/usr/share/bash-completion/completions/$(basename "${comp/.bash-completion}")" - done - for comp in tools/*.zsh-completion; do -install -Dm 644 "${comp}" "${pkgdir}/usr/share/zsh/site-functions/_$(basename "${comp/.zsh-completion}")" - done - - rm -r "${pkgdir}/nim" - rm "${pkgdir}/usr/bin/nimble" -} - -# vim: ts=2 sw=2 et: Copied: nim/repos/community-x86_64/PKGBUILD (from rev 611589, nim/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2020-04-04 13:20:32 UTC (rev 611590) @@ -0,0 +1,108 @@ +# Maintainer: Levente Polyak +# Contributor: Alexander F Rødseth +# Contributor: Dominik Picheta +# Contributor: Sven-Hendrik Haase +# Contributor: Jesus Alvarez + +pkgname=nim +_pkgname=Nim +pkgver=1.2.0 +_csourcesver=0.20.0 +pkgrel=1 +pkgdesc='Imperative, multi-paradigm, compiled programming language' +url='https://nim-lang.org/' +arch=('x86_64') +license=('MIT') +depends=('bash') +makedepends=('git') +optdepends=('nimble: Nim package manager') +options=('!emptydirs') +backup=( + etc/nim/nim.cfg + etc/nim/nimdoc.cfg + etc/nim/nimdoc.tex.cfg + etc/nim/rename.rules.cfg +)
[arch-commits] Commit in nim/repos/community-x86_64 (PKGBUILD PKGBUILD)
Date: Saturday, February 8, 2020 @ 12:20:39 Author: anthraxx Revision: 564071 archrelease: copy trunk to community-x86_64 Added: nim/repos/community-x86_64/PKGBUILD (from rev 564070, nim/trunk/PKGBUILD) Deleted: nim/repos/community-x86_64/PKGBUILD --+ PKGBUILD | 216 ++--- 1 file changed, 108 insertions(+), 108 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2020-02-08 12:20:34 UTC (rev 564070) +++ PKGBUILD2020-02-08 12:20:39 UTC (rev 564071) @@ -1,108 +0,0 @@ -# Maintainer: Levente Polyak -# Contributor: Alexander F Rødseth -# Contributor: Dominik Picheta -# Contributor: Sven-Hendrik Haase -# Contributor: Jesus Alvarez - -pkgname=nim -_pkgname=Nim -pkgver=1.0.4 -_csourcesver=0.20.0 -pkgrel=1 -pkgdesc='Imperative, multi-paradigm, compiled programming language' -url='https://nim-lang.org/' -arch=('x86_64') -license=('MIT') -depends=('bash') -makedepends=('git') -optdepends=('nimble: Nim package manager') -options=('!emptydirs') -backup=( - etc/nim/nim.cfg - etc/nim/nimdoc.cfg - etc/nim/nimdoc.tex.cfg - etc/nim/rename.rules.cfg -) -source=(https://github.com/nim-lang/Nim/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz - https://github.com/nim-lang/csources/archive/v${_csourcesver}/csources-${_csourcesver}.tar.gz) -sha256sums=('a3de1c63e70ede5de98d707397f461944732d9b127b41ed35983698b7a8677c9' -'5e6fd15d90df1a8cb7614c4ffc70aa8c4198cd854d7742016202b96dd0228d3c') -sha512sums=('498314603f0cd39fccdc6ea396b2ec4bd29e49e85e6218360816bb1aa023d9da994c65ac94b4c19d2c8b96ce3d8c423b49582bd4fa18996e85a07ed18359dc20' - '4da00678cb92cfd3b2425e4698cbbef8111c711f9457ba969367638437b5fad7928ca0a91fd24f53dcd9d341cfc420e87ec85d245767531bc57ccafd6feba258') - -prepare() { - cd ${_pkgname}-${pkgver} - mv ../csources-${_csourcesver} csources - rm bin/empty.txt - for nimcfg in {compiler,config}/nim.cfg; do -echo "gcc.options.always %= \"\${gcc.options.always} ${CFLAGS:-} ${CPPFLAGS}\"" >> "${nimcfg}" -echo "gcc.options.linker %= \"\${gcc.options.linker} ${LDFLAGS:-}\"" >> "${nimcfg}" - done -} - -build() { - cd ${_pkgname}-${pkgver} - export PATH="${srcdir}/${_pkgname}-${pkgver}/bin:${PATH}" - - msg2 "Building nim" - (cd csources -sh build.sh - ) - msg2 "Building koch" - nim c -d:release koch - ./koch boot -d:release -d:nativeStacktrace -d:useGnuReadline - - msg2 "Building libs" - (cd lib -nim c --app:lib -d:createNimRtl -d:release nimrtl.nim - ) - - msg2 "Building tools" - ./koch tools - (cd tools -nim c -d:release nimgrep.nim - ) - msg2 "Building nimsuggest" - nim c -d:release nimsuggest/nimsuggest.nim -} - -package() { - cd ${_pkgname}-${pkgver} - export PATH="${srcdir}/${_pkgname}-${pkgver}/bin:${PATH}" - - ./koch install "${pkgdir}" - - install -d "${pkgdir}/usr/lib" - cp -a lib "${pkgdir}/usr/lib/nim" - cp -a compiler "${pkgdir}/usr/lib/nim" - install -Dm 644 compiler.nimble "${pkgdir}/usr/lib/nim/compiler" - install -m 755 lib/libnimrtl.so "${pkgdir}/usr/lib/libnimrtl.so" - - # Fix FS#48118, related to the doc2 command - ln -s /usr/share/nim/doc "${pkgdir}/usr/lib/nim/doc" - - install -Dm 644 config/* -t "${pkgdir}/etc/nim" - install -Dm 755 bin/* -t "${pkgdir}/usr/bin" - - # Fix FS#50252, unusual placement of header files - install -d "${pkgdir}/usr/include" - cp -a "${pkgdir}/usr/lib/nim/"*.h "${pkgdir}/usr/include" - - install -d "${pkgdir}/usr/share/nim/doc" - cp -a examples doc/* "${pkgdir}/usr/share/nim/doc" - - install -Dm 644 copying.txt -t "${pkgdir}/usr/share/licenses/${pkgname}" - - # completions - for comp in tools/*.bash-completion; do -install -Dm 644 "${comp}" "${pkgdir}/usr/share/bash-completion/completions/$(basename "${comp/.bash-completion}")" - done - for comp in tools/*.zsh-completion; do -install -Dm 644 "${comp}" "${pkgdir}/usr/share/zsh/site-functions/_$(basename "${comp/.zsh-completion}")" - done - - rm -r "${pkgdir}/nim" - rm "${pkgdir}/usr/bin/nimble" -} - -# vim: ts=2 sw=2 et: Copied: nim/repos/community-x86_64/PKGBUILD (from rev 564070, nim/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2020-02-08 12:20:39 UTC (rev 564071) @@ -0,0 +1,108 @@ +# Maintainer: Levente Polyak +# Contributor: Alexander F Rødseth +# Contributor: Dominik Picheta +# Contributor: Sven-Hendrik Haase +# Contributor: Jesus Alvarez + +pkgname=nim +_pkgname=Nim +pkgver=1.0.6 +_csourcesver=0.20.0 +pkgrel=1 +pkgdesc='Imperative, multi-paradigm, compiled programming language' +url='https://nim-lang.org/' +arch=('x86_64') +license=('MIT') +depends=('bash') +makedepends=('git') +optdepends=('nimble: Nim package manager') +options=('!emptydirs') +backup=( + etc/nim/nim.cfg + etc/nim/nimdoc.cfg + etc/nim/nimdoc.tex.cfg + etc/nim/rename.rules.cfg +)
[arch-commits] Commit in nim/repos/community-x86_64 (PKGBUILD PKGBUILD)
Date: Wednesday, November 27, 2019 @ 20:25:44 Author: anthraxx Revision: 534198 archrelease: copy trunk to community-x86_64 Added: nim/repos/community-x86_64/PKGBUILD (from rev 534197, nim/trunk/PKGBUILD) Deleted: nim/repos/community-x86_64/PKGBUILD --+ PKGBUILD | 216 ++--- 1 file changed, 108 insertions(+), 108 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2019-11-27 20:25:37 UTC (rev 534197) +++ PKGBUILD2019-11-27 20:25:44 UTC (rev 534198) @@ -1,108 +0,0 @@ -# Maintainer: Levente Polyak -# Contributor: Alexander F Rødseth -# Contributor: Dominik Picheta -# Contributor: Sven-Hendrik Haase -# Contributor: Jesus Alvarez - -pkgname=nim -_pkgname=Nim -pkgver=1.0.2 -_csourcesver=0.20.0 -pkgrel=1 -pkgdesc='Imperative, multi-paradigm, compiled programming language' -url='https://nim-lang.org/' -arch=('x86_64') -license=('MIT') -depends=('bash') -makedepends=('git') -optdepends=('nimble: Nim package manager') -options=('!emptydirs') -backup=( - etc/nim/nim.cfg - etc/nim/nimdoc.cfg - etc/nim/nimdoc.tex.cfg - etc/nim/rename.rules.cfg -) -source=(https://github.com/nim-lang/Nim/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz - https://github.com/nim-lang/csources/archive/v${_csourcesver}/csources-${_csourcesver}.tar.gz) -sha256sums=('6cb3027b1234a69ff98437cf8a6d02e31a1ae4b3fc913cda8abef1cb965857b8' -'5e6fd15d90df1a8cb7614c4ffc70aa8c4198cd854d7742016202b96dd0228d3c') -sha512sums=('bdb1aac10c45843216925b158d76fdd6f3a855389d6307b6a18721b92657a75184dc1bd72cb8e5c203e2abdd5a47b02e902a4bce3b0c2ada47d460059a321929' - '4da00678cb92cfd3b2425e4698cbbef8111c711f9457ba969367638437b5fad7928ca0a91fd24f53dcd9d341cfc420e87ec85d245767531bc57ccafd6feba258') - -prepare() { - cd ${_pkgname}-${pkgver} - mv ../csources-${_csourcesver} csources - rm bin/empty.txt - for nimcfg in {compiler,config}/nim.cfg; do -echo "gcc.options.always %= \"\${gcc.options.always} ${CFLAGS:-} ${CPPFLAGS}\"" >> "${nimcfg}" -echo "gcc.options.linker %= \"\${gcc.options.linker} ${LDFLAGS:-}\"" >> "${nimcfg}" - done -} - -build() { - cd ${_pkgname}-${pkgver} - export PATH="${srcdir}/${_pkgname}-${pkgver}/bin:${PATH}" - - msg2 "Building nim" - (cd csources -sh build.sh - ) - msg2 "Building koch" - nim c -d:release koch - ./koch boot -d:release -d:nativeStacktrace -d:useGnuReadline - - msg2 "Building libs" - (cd lib -nim c --app:lib -d:createNimRtl -d:release nimrtl.nim - ) - - msg2 "Building tools" - ./koch tools - (cd tools -nim c -d:release nimgrep.nim - ) - msg2 "Building nimsuggest" - nim c -d:release nimsuggest/nimsuggest.nim -} - -package() { - cd ${_pkgname}-${pkgver} - export PATH="${srcdir}/${_pkgname}-${pkgver}/bin:${PATH}" - - ./koch install "${pkgdir}" - - install -d "${pkgdir}/usr/lib" - cp -a lib "${pkgdir}/usr/lib/nim" - cp -a compiler "${pkgdir}/usr/lib/nim" - install -Dm 644 compiler.nimble "${pkgdir}/usr/lib/nim/compiler" - install -m 755 lib/libnimrtl.so "${pkgdir}/usr/lib/libnimrtl.so" - - # Fix FS#48118, related to the doc2 command - ln -s /usr/share/nim/doc "${pkgdir}/usr/lib/nim/doc" - - install -Dm 644 config/* -t "${pkgdir}/etc/nim" - install -Dm 755 bin/* -t "${pkgdir}/usr/bin" - - # Fix FS#50252, unusual placement of header files - install -d "${pkgdir}/usr/include" - cp -a "${pkgdir}/usr/lib/nim/"*.h "${pkgdir}/usr/include" - - install -d "${pkgdir}/usr/share/nim/doc" - cp -a examples doc/* "${pkgdir}/usr/share/nim/doc" - - install -Dm 644 copying.txt -t "${pkgdir}/usr/share/licenses/${pkgname}" - - # completions - for comp in tools/*.bash-completion; do -install -Dm 644 "${comp}" "${pkgdir}/usr/share/bash-completion/completions/$(basename "${comp/.bash-completion}")" - done - for comp in tools/*.zsh-completion; do -install -Dm 644 "${comp}" "${pkgdir}/usr/share/zsh/site-functions/_$(basename "${comp/.zsh-completion}")" - done - - rm -r "${pkgdir}/nim" - rm "${pkgdir}/usr/bin/nimble" -} - -# vim: ts=2 sw=2 et: Copied: nim/repos/community-x86_64/PKGBUILD (from rev 534197, nim/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2019-11-27 20:25:44 UTC (rev 534198) @@ -0,0 +1,108 @@ +# Maintainer: Levente Polyak +# Contributor: Alexander F Rødseth +# Contributor: Dominik Picheta +# Contributor: Sven-Hendrik Haase +# Contributor: Jesus Alvarez + +pkgname=nim +_pkgname=Nim +pkgver=1.0.4 +_csourcesver=0.20.0 +pkgrel=1 +pkgdesc='Imperative, multi-paradigm, compiled programming language' +url='https://nim-lang.org/' +arch=('x86_64') +license=('MIT') +depends=('bash') +makedepends=('git') +optdepends=('nimble: Nim package manager') +options=('!emptydirs') +backup=( + etc/nim/nim.cfg + etc/nim/nimdoc.cfg + etc/nim/nimdoc.tex.cfg + etc/nim/rename.rules.cfg +)
[arch-commits] Commit in nim/repos/community-x86_64 (PKGBUILD PKGBUILD)
Date: Tuesday, March 6, 2018 @ 19:33:42 Author: anthraxx Revision: 303194 archrelease: copy trunk to community-x86_64 Added: nim/repos/community-x86_64/PKGBUILD (from rev 303193, nim/trunk/PKGBUILD) Deleted: nim/repos/community-x86_64/PKGBUILD --+ PKGBUILD | 166 ++--- 1 file changed, 83 insertions(+), 83 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2018-03-06 19:33:35 UTC (rev 303193) +++ PKGBUILD2018-03-06 19:33:42 UTC (rev 303194) @@ -1,83 +0,0 @@ -# Maintainer: Levente Polyak-# Contributor: Alexander F Rødseth -# Contributor: Dominik Picheta -# Contributor: Sven-Hendrik Haase -# Contributor: Jesus Alvarez - -pkgname=nim -_pkgname=Nim -pkgver=0.17.2 -pkgrel=2 -pkgdesc='Imperative, multi-paradigm, compiled programming language' -url='https://nim-lang.org/' -arch=('x86_64') -license=('MIT') -depends=('python' 'bash') -options=('!emptydirs') -source=(${pkgname}-${pkgver}.tar.gz::https://github.com/nim-lang/Nim/archive/v${pkgver}.tar.gz - csources-${pkgver}.tar.gz::https://github.com/nim-lang/csources/archive/v${pkgver}.tar.gz) -sha256sums=('eb8a98c7e576e8d858de98473569a29c539308fc7bb15a086b3f2b73d675f752' -'7eb28ba7d5a03d02fc1c1fd9089c037de9c058d327fd6e95d599db63d9afa9c8') -sha512sums=('02d773a338cf4aeeedd614fbd694feb4b64c620e63415a979e9f4fdf29d306315ab8a07d81f7a5389744d6f526eee2b1774a1ee7a6911f5bd03bdbb0e30061e7' - '4a8f1e87bd96ab33998b0d3415c0ba9560b78795e0396d8af8b588a93c23477097f2c5388b4e612fbc142b490480326b394a933c805a3585cd6f3d7e8390e3e6') - -prepare() { - cd ${_pkgname}-${pkgver} - mv ../csources-${pkgver} csources - rm bin/empty.txt -} - -build() { - cd ${_pkgname}-${pkgver} - export PATH="${srcdir}/${_pkgname}-${pkgver}/bin:${PATH}" - - msg2 "Building nim" - (cd csources -sh build.sh - ) - msg2 "Building koch" - nim c -d:release koch - ./koch boot -d:release -d:nativeStacktrace -d:useGnuReadline - - msg2 "Building libs" - (cd lib -nim c --app:lib -d:createNimRtl -d:release nimrtl.nim - ) - msg2 "Building tools" - (cd tools -nim c -d:release nimgrep.nim - ) - msg2 "Building nimsuggest" - nim c -d:release nimsuggest/nimsuggest.nim -} - -package() { - cd ${_pkgname}-${pkgver} - export PATH="${srcdir}/${_pkgname}-${pkgver}/bin:${PATH}" - - ./koch install "${pkgdir}" - - install -d "${pkgdir}/usr/lib" - cp -a lib "${pkgdir}/usr/lib/nim" - cp -a compiler "${pkgdir}/usr/lib/nim" - install -Dm 644 compiler.nimble "${pkgdir}/usr/lib/nim/compiler" - install -m 755 lib/libnimrtl.so "${pkgdir}/usr/lib/libnimrtl.so" - - # Fix FS#48118, related to the doc2 command - ln -s /usr/share/nim/doc "${pkgdir}/usr/lib/nim/doc" - - install -Dm 644 config/* -t "${pkgdir}/etc" - install -Dm 755 bin/* tools/nimgrep nimsuggest/nimsuggest -t "${pkgdir}/usr/bin" - - # Fix FS#50252, unusual placement of header files - install -d "${pkgdir}/usr/include" - cp -a "${pkgdir}/usr/lib/nim/"*.h "${pkgdir}/usr/include" - - install -d "${pkgdir}/usr/share/nim/doc" - cp -a examples web doc/* "${pkgdir}/usr/share/nim/doc" - - install -Dm 644 copying.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" - rm -r "${pkgdir}/nim" "${pkgdir}/usr/lib/nim/lib/nimcache" -} - -# vim: ts=2 sw=2 et: Copied: nim/repos/community-x86_64/PKGBUILD (from rev 303193, nim/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2018-03-06 19:33:42 UTC (rev 303194) @@ -0,0 +1,83 @@ +# Maintainer: Levente Polyak +# Contributor: Alexander F Rødseth +# Contributor: Dominik Picheta +# Contributor: Sven-Hendrik Haase +# Contributor: Jesus Alvarez + +pkgname=nim +_pkgname=Nim +pkgver=0.18.0 +pkgrel=1 +pkgdesc='Imperative, multi-paradigm, compiled programming language' +url='https://nim-lang.org/' +arch=('x86_64') +license=('MIT') +depends=('python' 'bash') +options=('!emptydirs') +source=(${pkgname}-${pkgver}.tar.gz::https://github.com/nim-lang/Nim/archive/v${pkgver}.tar.gz + csources-${pkgver}.tar.gz::https://github.com/nim-lang/csources/archive/v${pkgver}.tar.gz) +sha256sums=('9b9982f349fb96db44020a6da14fa683179b637a3d94782e2c99156ac613e187' +'e9aff9d58661ea852ae424ba34fc3750b45fb31982645a3038de2300bea2d17c') +sha512sums=('b4c4ca78bfb310eba7cd105cc43bdb64b013ef90e06613e8d9af460b3f57ccdb4d4fc49f100bb4a5c0f06d45664197b68e69d5bf8ac724c0c849863082aa3a66' + 'e89324e3d091e1a29b5d0110bf9de7fba2438ce1f37bddcfd5cb4dde3bf31ab906c4576b623a5d70504c3430dad737898474e17d6c0eef41c1effd438d0cc571') + +prepare() { + cd ${_pkgname}-${pkgver} + mv ../csources-${pkgver} csources + rm
[arch-commits] Commit in nim/repos/community-x86_64 (PKGBUILD PKGBUILD)
Date: Wednesday, January 24, 2018 @ 00:24:06 Author: anthraxx Revision: 286136 archrelease: copy trunk to community-x86_64 Added: nim/repos/community-x86_64/PKGBUILD (from rev 286135, nim/trunk/PKGBUILD) Deleted: nim/repos/community-x86_64/PKGBUILD --+ PKGBUILD | 164 ++--- 1 file changed, 83 insertions(+), 81 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2018-01-24 00:22:56 UTC (rev 286135) +++ PKGBUILD2018-01-24 00:24:06 UTC (rev 286136) @@ -1,81 +0,0 @@ -# Maintainer: Levente Polyak-# Contributor: Alexander F Rødseth -# Contributor: Dominik Picheta -# Contributor: Sven-Hendrik Haase -# Contributor: Jesus Alvarez - -pkgname=nim -_pkgname=Nim -pkgver=0.17.2 -pkgrel=1 -pkgdesc='Imperative, multi-paradigm, compiled programming language' -url='https://nim-lang.org/' -arch=('x86_64' 'i686') -license=('MIT') -depends=('python' 'bash') -options=('!emptydirs') -source=(${pkgname}-${pkgver}.tar.gz::https://github.com/nim-lang/Nim/archive/v${pkgver}.tar.gz - csources-${pkgver}.tar.gz::https://github.com/nim-lang/csources/archive/v${pkgver}.tar.gz) -sha256sums=('eb8a98c7e576e8d858de98473569a29c539308fc7bb15a086b3f2b73d675f752' -'7eb28ba7d5a03d02fc1c1fd9089c037de9c058d327fd6e95d599db63d9afa9c8') -sha512sums=('02d773a338cf4aeeedd614fbd694feb4b64c620e63415a979e9f4fdf29d306315ab8a07d81f7a5389744d6f526eee2b1774a1ee7a6911f5bd03bdbb0e30061e7' - '4a8f1e87bd96ab33998b0d3415c0ba9560b78795e0396d8af8b588a93c23477097f2c5388b4e612fbc142b490480326b394a933c805a3585cd6f3d7e8390e3e6') - -prepare() { - cd ${_pkgname}-${pkgver} - mv ../csources-${pkgver} csources - rm bin/empty.txt -} - -build() { - cd ${_pkgname}-${pkgver} - export PATH="${srcdir}/${_pkgname}-${pkgver}/bin:${PATH}" - - msg2 "Building nim" - (cd csources -sh build.sh - ) - msg2 "Building koch" - nim c -d:release koch - ./koch boot -d:release -d:nativeStacktrace -d:useGnuReadline - - msg2 "Building libs" - (cd lib -nim c --app:lib -d:createNimRtl -d:release nimrtl.nim - ) - msg2 "Building tools" - (cd tools -nim c -d:release nimgrep.nim - ) -} - -package() { - cd ${_pkgname}-${pkgver} - export PATH="${srcdir}/${_pkgname}-${pkgver}/bin:${PATH}" - - ./koch install "${pkgdir}" - - install -d "${pkgdir}/usr/lib" - cp -a lib "${pkgdir}/usr/lib/nim" - cp -a compiler "${pkgdir}/usr/lib/nim" - install -Dm 644 compiler.nimble "${pkgdir}/usr/lib/nim/compiler" - install -m 755 lib/libnimrtl.so "${pkgdir}/usr/lib/libnimrtl.so" - - # Fix FS#48118, related to the doc2 command - ln -s /usr/share/nim/doc "${pkgdir}/usr/lib/nim/doc" - - install -Dm 644 config/* -t "${pkgdir}/etc" - install -Dm 755 bin/* tools/nimgrep -t "${pkgdir}/usr/bin" - - # Fix FS#50252, unusual placement of header files - install -d "${pkgdir}/usr/include" - cp -a "${pkgdir}/usr/lib/nim/"*.h "${pkgdir}/usr/include" - - install -d "${pkgdir}/usr/share/nim/doc" - cp -a examples web doc/* "${pkgdir}/usr/share/nim/doc" - - install -Dm 644 copying.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" - rm -r "${pkgdir}/nim" "${pkgdir}/usr/lib/nim/lib/nimcache" -} - -# vim: ts=2 sw=2 et: Copied: nim/repos/community-x86_64/PKGBUILD (from rev 286135, nim/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2018-01-24 00:24:06 UTC (rev 286136) @@ -0,0 +1,83 @@ +# Maintainer: Levente Polyak +# Contributor: Alexander F Rødseth +# Contributor: Dominik Picheta +# Contributor: Sven-Hendrik Haase +# Contributor: Jesus Alvarez + +pkgname=nim +_pkgname=Nim +pkgver=0.17.2 +pkgrel=2 +pkgdesc='Imperative, multi-paradigm, compiled programming language' +url='https://nim-lang.org/' +arch=('x86_64') +license=('MIT') +depends=('python' 'bash') +options=('!emptydirs') +source=(${pkgname}-${pkgver}.tar.gz::https://github.com/nim-lang/Nim/archive/v${pkgver}.tar.gz + csources-${pkgver}.tar.gz::https://github.com/nim-lang/csources/archive/v${pkgver}.tar.gz) +sha256sums=('eb8a98c7e576e8d858de98473569a29c539308fc7bb15a086b3f2b73d675f752' +'7eb28ba7d5a03d02fc1c1fd9089c037de9c058d327fd6e95d599db63d9afa9c8') +sha512sums=('02d773a338cf4aeeedd614fbd694feb4b64c620e63415a979e9f4fdf29d306315ab8a07d81f7a5389744d6f526eee2b1774a1ee7a6911f5bd03bdbb0e30061e7' + '4a8f1e87bd96ab33998b0d3415c0ba9560b78795e0396d8af8b588a93c23477097f2c5388b4e612fbc142b490480326b394a933c805a3585cd6f3d7e8390e3e6') + +prepare() { + cd ${_pkgname}-${pkgver} + mv ../csources-${pkgver} csources + rm bin/empty.txt +} + +build() { + cd ${_pkgname}-${pkgver} + export