[arch-commits] Commit in nim/trunk (PKGBUILD)
Alexander Rødseth
arodseth at archlinux.org
Sat Mar 12 09:52:51 UTC 2016
Date: Saturday, March 12, 2016 @ 10:52:51
Author: arodseth
Revision: 166210
upgpkg: nim 0.13.0-3
Modified:
nim/trunk/PKGBUILD
----------+
PKGBUILD | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2016-03-12 08:50:20 UTC (rev 166209)
+++ PKGBUILD 2016-03-12 09:52:51 UTC (rev 166210)
@@ -6,12 +6,12 @@
pkgname=nim
pkgver=0.13.0
-pkgrel=2
+pkgrel=3
pkgdesc='Imperative, multi-paradigm, compiled programming language'
arch=('x86_64' 'i686')
url='http://nim-lang.org/'
license=('MIT')
-makedepends=('git')
+makedepends=('git' 'glib2')
options=('!emptydirs')
source=("$pkgname::git://github.com/Araq/Nimrod.git#tag=v$pkgver")
md5sums=('SKIP')
@@ -21,6 +21,8 @@
rm build/empty.txt && rmdir build
git clone --depth=1 git://github.com/nimrod-code/csources build
+ cd build
+ git checkout b39a1df
}
build() {
@@ -39,6 +41,7 @@
cd ../tools
nim c -d:release nimgrep.nim
+ #nim c -d:release nimrepl.nim # does not compile
}
package() {
@@ -63,6 +66,7 @@
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
More information about the arch-commits
mailing list