[arch-commits] Commit in nim/repos (4 files)
Alexander Rødseth
arodseth at archlinux.org
Thu Feb 11 22:51:05 UTC 2016
Date: Thursday, February 11, 2016 @ 23:51:05
Author: arodseth
Revision: 161319
archrelease: copy trunk to community-x86_64, community-i686
Added:
nim/repos/community-i686/PKGBUILD
(from rev 161318, nim/trunk/PKGBUILD)
nim/repos/community-x86_64/PKGBUILD
(from rev 161318, nim/trunk/PKGBUILD)
Deleted:
nim/repos/community-i686/PKGBUILD
nim/repos/community-x86_64/PKGBUILD
---------------------------+
/PKGBUILD | 144 ++++++++++++++++++++++++++++++++++++++++++++
community-i686/PKGBUILD | 68 --------------------
community-x86_64/PKGBUILD | 68 --------------------
3 files changed, 144 insertions(+), 136 deletions(-)
Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD 2016-02-11 22:50:53 UTC (rev 161318)
+++ community-i686/PKGBUILD 2016-02-11 22:51:05 UTC (rev 161319)
@@ -1,68 +0,0 @@
-# $Id: PKGBUILD 121061 2014-10-20 12:57:19Z arodseth $
-# Maintainer: Alexander Rødseth <rodseth at gmail.com>
-# 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.13.0
-pkgrel=1
-pkgdesc='Imperative, multi-paradigm, compiled programming language'
-arch=('x86_64' 'i686')
-url='http://nim-lang.org/'
-license=('MIT')
-makedepends=('git')
-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
-}
-
-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"
-
- 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 -Dm644 "copying.txt" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
-
-# vim:set ts=2 sw=2 et:
Copied: nim/repos/community-i686/PKGBUILD (from rev 161318, nim/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2016-02-11 22:51:05 UTC (rev 161319)
@@ -0,0 +1,72 @@
+# $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.13.0
+pkgrel=2
+pkgdesc='Imperative, multi-paradigm, compiled programming language'
+arch=('x86_64' 'i686')
+url='http://nim-lang.org/'
+license=('MIT')
+makedepends=('git')
+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
+}
+
+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"
+
+ 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 -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-02-11 22:50:53 UTC (rev 161318)
+++ community-x86_64/PKGBUILD 2016-02-11 22:51:05 UTC (rev 161319)
@@ -1,68 +0,0 @@
-# $Id: PKGBUILD 121061 2014-10-20 12:57:19Z arodseth $
-# Maintainer: Alexander Rødseth <rodseth at gmail.com>
-# 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.13.0
-pkgrel=1
-pkgdesc='Imperative, multi-paradigm, compiled programming language'
-arch=('x86_64' 'i686')
-url='http://nim-lang.org/'
-license=('MIT')
-makedepends=('git')
-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
-}
-
-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"
-
- 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 -Dm644 "copying.txt" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
-
-# vim:set ts=2 sw=2 et:
Copied: nim/repos/community-x86_64/PKGBUILD (from rev 161318, nim/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2016-02-11 22:51:05 UTC (rev 161319)
@@ -0,0 +1,72 @@
+# $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.13.0
+pkgrel=2
+pkgdesc='Imperative, multi-paradigm, compiled programming language'
+arch=('x86_64' 'i686')
+url='http://nim-lang.org/'
+license=('MIT')
+makedepends=('git')
+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
+}
+
+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"
+
+ 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 -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