Date: Thursday, February 11, 2016 @ 23:50:53
  Author: arodseth
Revision: 161318

upgpkg: nim 0.13.0-2

Modified:
  nim/trunk/PKGBUILD

----------+
 PKGBUILD |   12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2016-02-11 22:30:37 UTC (rev 161317)
+++ PKGBUILD    2016-02-11 22:50:53 UTC (rev 161318)
@@ -1,5 +1,5 @@
 # $Id: PKGBUILD 121061 2014-10-20 12:57:19Z arodseth $
-# Maintainer: Alexander Rødseth <[email protected]>
+# Maintainer: Alexander F Rødseth <[email protected]>
 # Contributor: Dominik Picheta <[email protected]>
 # Contributor: Sven-Hendrik Haase <[email protected]>
 # Contributor: Jesus Alvarez <[email protected]>
@@ -6,7 +6,7 @@
 
 pkgname=nim
 pkgver=0.13.0
-pkgrel=1
+pkgrel=2
 pkgdesc='Imperative, multi-paradigm, compiled programming language'
 arch=('x86_64' 'i686')
 url='http://nim-lang.org/'
@@ -25,9 +25,10 @@
 
 build() {
   cd "$pkgname/build"
+
   sh build.sh
+
   cd ..
-
   ./bin/nim c koch
   ./koch boot -d:release -d:useGnuReadline
 
@@ -44,7 +45,7 @@
   cd "$pkgname"
 
   export PATH="$srcdir/$pkgname/bin:$PATH"
-  
+
   ./koch install "$pkgdir"
 
   install -d "$pkgdir/usr/share/nim/doc" "$pkgdir/usr/lib/nim" \
@@ -63,6 +64,9 @@
   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:

Reply via email to