[arch-commits] Commit in nim/repos (4 files)

Alexander Rødseth arodseth at archlinux.org
Sun Aug 7 12:54:29 UTC 2016


    Date: Sunday, August 7, 2016 @ 12:54:29
  Author: arodseth
Revision: 185871

archrelease: copy trunk to community-x86_64, community-i686

Added:
  nim/repos/community-i686/PKGBUILD
    (from rev 185870, nim/trunk/PKGBUILD)
  nim/repos/community-x86_64/PKGBUILD
    (from rev 185870, nim/trunk/PKGBUILD)
Deleted:
  nim/repos/community-i686/PKGBUILD
  nim/repos/community-x86_64/PKGBUILD

---------------------------+
 /PKGBUILD                 |  154 ++++++++++++++++++++++++++++++++++++++++++++
 community-i686/PKGBUILD   |   76 ---------------------
 community-x86_64/PKGBUILD |   76 ---------------------
 3 files changed, 154 insertions(+), 152 deletions(-)

Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD	2016-08-07 12:54:14 UTC (rev 185870)
+++ community-i686/PKGBUILD	2016-08-07 12:54:29 UTC (rev 185871)
@@ -1,76 +0,0 @@
-# $Id: PKGBUILD 121061 2014-10-20 12:57:19Z arodseth $
-# Maintainer: Alexander F Rødseth <xyproto at archlinux.org>
-# Contributor: Dominik Picheta <morfeusz8 at gmail.com>
-# Contributor: Sven-Hendrik Haase <sh at lutzhaase.com>
-# Contributor: Jesus Alvarez <jeezusjr at gmail.com>
-
-pkgname=nim
-pkgver=0.14.2
-pkgrel=1
-pkgdesc='Imperative, multi-paradigm, compiled programming language'
-arch=('x86_64' 'i686')
-url='http://nim-lang.org/'
-license=('MIT')
-makedepends=('git' 'glib2')
-options=('!emptydirs')
-source=("$pkgname::git://github.com/Araq/Nimrod.git#tag=v$pkgver")
-md5sums=('SKIP')
-
-prepare() {
-  cd "$pkgname"
-
-  rm build/empty.txt && rmdir build
-  git clone --depth=1 git://github.com/nimrod-code/csources build
-  cd build
-  git checkout b39a1df
-}
-
-build() {
-  cd "$pkgname/build"
-
-  sh build.sh
-
-  cd ..
-  ./bin/nim c koch
-  ./koch boot -d:release -d:useGnuReadline
-
-  export PATH="$srcdir/$pkgname/bin:$PATH"
-
-  cd lib
-  nim c --app:lib -d:createNimRtl -d:release nimrtl.nim
-
-  cd ../tools
-  nim c -d:release nimgrep.nim
-  #nim c -d:release nimrepl.nim # does not compile
-}
-
-package() {
-  cd "$pkgname"
-
-  export PATH="$srcdir/$pkgname/bin:$PATH"
-
-  ./koch install "$pkgdir"
-
-  install -d "$pkgdir/usr/share/nim/doc" "$pkgdir/usr/lib/nim" \
-    "$pkgdir/etc" "$pkgdir/usr/bin"
-
-  cd "$pkgdir/nim"
-  mv "lib/"* "$pkgdir/usr/lib/nim/"
-  mv "config/"* "$pkgdir/etc/"
-  cp -a "$srcdir/$pkgname/lib/packages" "$pkgdir/usr/lib/nim/"
-  mv "bin/"* "$pkgdir/usr/bin/"
-
-  cd "$srcdir/$pkgname"
-  rm -r "$pkgdir/nim"
-  mv examples web "$pkgdir/usr/share/nim/doc/"
-  mv "doc/"* "$pkgdir/usr/share/nim/doc/"
-  install -m644 "lib/libnimrtl.so" "$pkgdir/usr/lib/libnimrtl.so"
-  install -m755 "tools/nimgrep" "$pkgdir/usr/bin/"
-  #install -m755 "tools/nimrepl" "$pkgdir/usr/bin/"
-  install -Dm644 "copying.txt" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-
-  # Fix FS#48118, related to the doc2 command
-  ln -s /usr/share/nim/doc "$pkgdir/usr/lib/nim/doc"
-}
-
-# vim:set ts=2 sw=2 et:

Copied: nim/repos/community-i686/PKGBUILD (from rev 185870, nim/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2016-08-07 12:54:29 UTC (rev 185871)
@@ -0,0 +1,77 @@
+# $Id: PKGBUILD 121061 2014-10-20 12:57:19Z arodseth $
+# Maintainer: Alexander F Rødseth <xyproto at archlinux.org>
+# Contributor: Dominik Picheta <morfeusz8 at gmail.com>
+# Contributor: Sven-Hendrik Haase <sh at lutzhaase.com>
+# Contributor: Jesus Alvarez <jeezusjr at gmail.com>
+
+pkgname=nim
+pkgver=0.14.2
+pkgrel=2
+pkgdesc='Imperative, multi-paradigm, compiled programming language'
+arch=('x86_64' 'i686')
+url='http://nim-lang.org/'
+license=('MIT')
+makedepends=('git' 'glib2')
+options=('!emptydirs')
+source=("$pkgname::git://github.com/Araq/Nimrod.git#tag=v$pkgver")
+md5sums=('SKIP')
+
+prepare() {
+  cd "$pkgname"
+
+  rm build/empty.txt && rmdir build
+  git clone --depth=1 git://github.com/nimrod-code/csources build
+  cd build
+  git checkout b39a1df
+}
+
+build() {
+  cd "$pkgname/build"
+
+  sh build.sh
+
+  cd ..
+  ./bin/nim c koch
+  ./koch boot -d:release -d:useGnuReadline
+
+  export PATH="$srcdir/$pkgname/bin:$PATH"
+
+  cd lib
+  nim c --app:lib -d:createNimRtl -d:release nimrtl.nim
+
+  cd ../tools
+  nim c -d:release nimgrep.nim
+}
+
+package() {
+  cd "$pkgname"
+
+  export PATH="$srcdir/$pkgname/bin:$PATH"
+
+  ./koch install "$pkgdir"
+
+  install -d \
+    "$pkgdir/usr/share/nim/doc" "$pkgdir/usr/lib/nim" \
+    "$pkgdir/etc" "$pkgdir/usr/bin" "$pkgdir/usr/include"
+
+  cd "$pkgdir/nim"
+  mv lib/* "$pkgdir/usr/lib/nim/"
+  mv config/* "$pkgdir/etc/"
+  cp -a "$srcdir/$pkgname/lib/packages" "$pkgdir/usr/lib/nim/"
+  mv bin/* "$pkgdir/usr/bin/"
+
+  # Fix FS50252, unusual placement of header files
+  mv "$pkgdir/usr/lib/nim/"*.h "$pkgdir/usr/include/"
+
+  cd "$srcdir/$pkgname"
+  rm -r "$pkgdir/nim"
+  mv examples web doc/* "$pkgdir/usr/share/nim/doc/"
+  install -m644 lib/libnimrtl.so "$pkgdir/usr/lib/libnimrtl.so"
+  install -m755 tools/nimgrep "$pkgdir/usr/bin/"
+  install -Dm644 copying.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+
+  # Fix FS#48118, related to the doc2 command
+  ln -s /usr/share/nim/doc "$pkgdir/usr/lib/nim/doc"
+}
+
+# vim:set ts=2 sw=2 et:

Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD	2016-08-07 12:54:14 UTC (rev 185870)
+++ community-x86_64/PKGBUILD	2016-08-07 12:54:29 UTC (rev 185871)
@@ -1,76 +0,0 @@
-# $Id: PKGBUILD 121061 2014-10-20 12:57:19Z arodseth $
-# Maintainer: Alexander F Rødseth <xyproto at archlinux.org>
-# Contributor: Dominik Picheta <morfeusz8 at gmail.com>
-# Contributor: Sven-Hendrik Haase <sh at lutzhaase.com>
-# Contributor: Jesus Alvarez <jeezusjr at gmail.com>
-
-pkgname=nim
-pkgver=0.14.2
-pkgrel=1
-pkgdesc='Imperative, multi-paradigm, compiled programming language'
-arch=('x86_64' 'i686')
-url='http://nim-lang.org/'
-license=('MIT')
-makedepends=('git' 'glib2')
-options=('!emptydirs')
-source=("$pkgname::git://github.com/Araq/Nimrod.git#tag=v$pkgver")
-md5sums=('SKIP')
-
-prepare() {
-  cd "$pkgname"
-
-  rm build/empty.txt && rmdir build
-  git clone --depth=1 git://github.com/nimrod-code/csources build
-  cd build
-  git checkout b39a1df
-}
-
-build() {
-  cd "$pkgname/build"
-
-  sh build.sh
-
-  cd ..
-  ./bin/nim c koch
-  ./koch boot -d:release -d:useGnuReadline
-
-  export PATH="$srcdir/$pkgname/bin:$PATH"
-
-  cd lib
-  nim c --app:lib -d:createNimRtl -d:release nimrtl.nim
-
-  cd ../tools
-  nim c -d:release nimgrep.nim
-  #nim c -d:release nimrepl.nim # does not compile
-}
-
-package() {
-  cd "$pkgname"
-
-  export PATH="$srcdir/$pkgname/bin:$PATH"
-
-  ./koch install "$pkgdir"
-
-  install -d "$pkgdir/usr/share/nim/doc" "$pkgdir/usr/lib/nim" \
-    "$pkgdir/etc" "$pkgdir/usr/bin"
-
-  cd "$pkgdir/nim"
-  mv "lib/"* "$pkgdir/usr/lib/nim/"
-  mv "config/"* "$pkgdir/etc/"
-  cp -a "$srcdir/$pkgname/lib/packages" "$pkgdir/usr/lib/nim/"
-  mv "bin/"* "$pkgdir/usr/bin/"
-
-  cd "$srcdir/$pkgname"
-  rm -r "$pkgdir/nim"
-  mv examples web "$pkgdir/usr/share/nim/doc/"
-  mv "doc/"* "$pkgdir/usr/share/nim/doc/"
-  install -m644 "lib/libnimrtl.so" "$pkgdir/usr/lib/libnimrtl.so"
-  install -m755 "tools/nimgrep" "$pkgdir/usr/bin/"
-  #install -m755 "tools/nimrepl" "$pkgdir/usr/bin/"
-  install -Dm644 "copying.txt" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-
-  # Fix FS#48118, related to the doc2 command
-  ln -s /usr/share/nim/doc "$pkgdir/usr/lib/nim/doc"
-}
-
-# vim:set ts=2 sw=2 et:

Copied: nim/repos/community-x86_64/PKGBUILD (from rev 185870, nim/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2016-08-07 12:54:29 UTC (rev 185871)
@@ -0,0 +1,77 @@
+# $Id: PKGBUILD 121061 2014-10-20 12:57:19Z arodseth $
+# Maintainer: Alexander F Rødseth <xyproto at archlinux.org>
+# Contributor: Dominik Picheta <morfeusz8 at gmail.com>
+# Contributor: Sven-Hendrik Haase <sh at lutzhaase.com>
+# Contributor: Jesus Alvarez <jeezusjr at gmail.com>
+
+pkgname=nim
+pkgver=0.14.2
+pkgrel=2
+pkgdesc='Imperative, multi-paradigm, compiled programming language'
+arch=('x86_64' 'i686')
+url='http://nim-lang.org/'
+license=('MIT')
+makedepends=('git' 'glib2')
+options=('!emptydirs')
+source=("$pkgname::git://github.com/Araq/Nimrod.git#tag=v$pkgver")
+md5sums=('SKIP')
+
+prepare() {
+  cd "$pkgname"
+
+  rm build/empty.txt && rmdir build
+  git clone --depth=1 git://github.com/nimrod-code/csources build
+  cd build
+  git checkout b39a1df
+}
+
+build() {
+  cd "$pkgname/build"
+
+  sh build.sh
+
+  cd ..
+  ./bin/nim c koch
+  ./koch boot -d:release -d:useGnuReadline
+
+  export PATH="$srcdir/$pkgname/bin:$PATH"
+
+  cd lib
+  nim c --app:lib -d:createNimRtl -d:release nimrtl.nim
+
+  cd ../tools
+  nim c -d:release nimgrep.nim
+}
+
+package() {
+  cd "$pkgname"
+
+  export PATH="$srcdir/$pkgname/bin:$PATH"
+
+  ./koch install "$pkgdir"
+
+  install -d \
+    "$pkgdir/usr/share/nim/doc" "$pkgdir/usr/lib/nim" \
+    "$pkgdir/etc" "$pkgdir/usr/bin" "$pkgdir/usr/include"
+
+  cd "$pkgdir/nim"
+  mv lib/* "$pkgdir/usr/lib/nim/"
+  mv config/* "$pkgdir/etc/"
+  cp -a "$srcdir/$pkgname/lib/packages" "$pkgdir/usr/lib/nim/"
+  mv bin/* "$pkgdir/usr/bin/"
+
+  # Fix FS50252, unusual placement of header files
+  mv "$pkgdir/usr/lib/nim/"*.h "$pkgdir/usr/include/"
+
+  cd "$srcdir/$pkgname"
+  rm -r "$pkgdir/nim"
+  mv examples web doc/* "$pkgdir/usr/share/nim/doc/"
+  install -m644 lib/libnimrtl.so "$pkgdir/usr/lib/libnimrtl.so"
+  install -m755 tools/nimgrep "$pkgdir/usr/bin/"
+  install -Dm644 copying.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+
+  # Fix FS#48118, related to the doc2 command
+  ln -s /usr/share/nim/doc "$pkgdir/usr/lib/nim/doc"
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list