[arch-commits] Commit in nimble/trunk (PKGBUILD)
Levente Polyak
anthraxx at archlinux.org
Fri Nov 15 23:34:20 UTC 2019
Date: Friday, November 15, 2019 @ 23:34:20
Author: anthraxx
Revision: 529464
upgpkg: nimble 1:0.11.0-1
Modified:
nimble/trunk/PKGBUILD
----------+
PKGBUILD | 16 ++++++++++------
1 file changed, 10 insertions(+), 6 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-11-15 23:31:40 UTC (rev 529463)
+++ PKGBUILD 2019-11-15 23:34:20 UTC (rev 529464)
@@ -2,7 +2,7 @@
# Contributor: Alexander F Rødseth <xyproto at archlinux.org>
pkgname=nimble
-pkgver=0.8.10
+pkgver=0.11.0
pkgrel=1
epoch=1
pkgdesc='Package manager for the Nim programming language'
@@ -9,11 +9,11 @@
url='https://github.com/nim-lang/nimble'
arch=('x86_64')
license=('BSD')
-depends=('glibc')
+depends=('glibc' 'openssl')
makedepends=('nim')
-source=(${pkgname}-${pkgver}.tar.gz::https://github.com/nim-lang/nimble/archive/v${pkgver}.tar.gz)
-sha256sums=('bb1962a71448945775bba4c1fd63162fa9bb2afbaf6d6f61a5012c1c3fee59f9')
-sha512sums=('18128cb28c6f1b1d1bf2dddb287e376404ddf842a3f665ae3dfddb39ad5dc08e7ec0509d6e823cec3eaad3263ec4a5e72d513aae173a50451799a85ef79453b3')
+source=(https://github.com/nim-lang/nimble/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
+sha256sums=('a31d06128f3d1014d68297aa5cd264023d202cae74746d78ba84e335af3399d2')
+sha512sums=('b396599554bb51a40774cdb5c90beab21e9cfef2683fd479fc925de4ae4f5c0d90e821f176b40cda241a3ad8542504cd552f97f2dca88ca32a4edeedbd422fa4')
build() {
cd ${pkgname}-${pkgver}
@@ -24,11 +24,15 @@
cd ${pkgname}-${pkgver}
install -Dm 755 src/nimble -t "${pkgdir}/usr/bin"
- install -Dm 644 license.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+ install -Dm 644 license.txt -t "${pkgdir}/usr/share/licenses/${pkgname}"
# Nimble looks for nimscriptapi.nim in /usr/bin/nimblepkg/, of all places.
cp -r src/nimblepkg "${pkgdir}/usr/share/${pkgname}"
ln -s /usr/share/${pkgname} "${pkgdir}/usr/bin/nimblepkg"
+
+ # completions
+ install -Dm 644 nimble.bash-completion "${pkgdir}/usr/share/bash-completion/completions/nimble"
+ install -Dm 644 nimble.zsh-completion "${pkgdir}/usr/share/zsh/site-functions/_nimble"
}
# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list