[arch-commits] Commit in nim/trunk (PKGBUILD)
Levente Polyak
anthraxx at archlinux.org
Wed Jul 19 13:53:01 UTC 2017
Date: Wednesday, July 19, 2017 @ 13:52:59
Author: anthraxx
Revision: 245674
upgpkg: nim 0.17.0-2 (fix compiler source distribution)
FS#54184
Modified:
nim/trunk/PKGBUILD
----------+
PKGBUILD | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-07-19 13:23:08 UTC (rev 245673)
+++ PKGBUILD 2017-07-19 13:52:59 UTC (rev 245674)
@@ -7,7 +7,7 @@
pkgname=nim
_pkgname=Nim
pkgver=0.17.0
-pkgrel=1
+pkgrel=2
pkgdesc='Imperative, multi-paradigm, compiled programming language'
url='https://nim-lang.org/'
arch=('x86_64' 'i686')
@@ -57,7 +57,8 @@
install -d "${pkgdir}/usr/lib"
cp -a lib "${pkgdir}/usr/lib/nim"
- cp -a compiler{,.nimble} "${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
@@ -74,7 +75,7 @@
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"
+ rm -r "${pkgdir}/nim" "${pkgdir}/usr/lib/nim/lib/nimcache"
}
# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list