diff options
author | Marco Pompili | 2017-09-20 13:54:39 +0200 |
---|---|---|
committer | Marco Pompili | 2017-09-20 13:54:39 +0200 |
commit | e329a1e5de236a97860d6f9297848d812689dd3e (patch) | |
tree | 508b5368b21803f28896606bb851d08c15bd7bc2 | |
parent | f498b841def8fff9ebcd58d2e9b1062c018f34f1 (diff) | |
download | aur-e329a1e5de236a97860d6f9297848d812689dd3e.tar.gz |
Version 1.1.29-1
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 19 |
2 files changed, 15 insertions, 10 deletions
@@ -1,8 +1,8 @@ # Generated by mksrcinfo v8 -# Fri Aug 4 07:59:54 UTC 2017 +# Wed Sep 20 11:54:10 UTC 2017 pkgbase = nodejs-ungit pkgdesc = Git made easy - pkgver = 1.1.27 + pkgver = 1.1.29 pkgrel = 1 url = https://www.npmjs.com/package/ungit arch = i686 @@ -15,6 +15,8 @@ pkgbase = nodejs-ungit conflicts = ungit options = !emptydirs options = !strip + source = nodejs-ungit-1.1.29.tgz::https://registry.npmjs.org/ungit/-/ungit-1.1.29.tgz + sha256sums = fa15cdb478b5451dc537e315228cb2f8a5b284ad30c80384a01bca78cd3a2929 pkgname = nodejs-ungit @@ -1,9 +1,10 @@ # Maintainer: Marco Pompili <aur (at) emarcs (dot) org> # Contributor: Andy Weidenbaum <archbaum@gmail.com> -pkgname=nodejs-ungit _npmname=ungit -pkgver=1.1.27 +_npmver=1.1.29 +pkgname=nodejs-ungit +pkgver=1.1.29 pkgrel=1 pkgdesc="Git made easy" arch=('i686' 'x86_64') @@ -14,14 +15,16 @@ license=('MIT') provides=('nodejs-ungit' 'ungit') conflicts=('ungit') options=('!emptydirs' '!strip') +source=("${pkgname}-${pkgver}.tgz::https://registry.npmjs.org/ungit/-/ungit-${pkgver}.tgz") +sha256sums=('fa15cdb478b5451dc537e315228cb2f8a5b284ad30c80384a01bca78cd3a2929') package() { - local _npmdir="$pkgdir/usr/lib/node_modules/" - mkdir -p "$_npmdir" - cd "$_npmdir" - npm install --user root -g --prefix "$pkgdir/usr" $_npmname@$pkgver + cd ${srcdir} + local _npmdir="${pkgdir}/usr/lib/node_modules/" + mkdir -p ${_npmdir} + cd ${_npmdir} + npm install -g --prefix "${pkgdir}/usr" ${_npmname}@${_npmver} msg2 'Renaming binary from 0ungit-credentials-helper to ungit-credentials-helper' - mv "$pkgdir/usr/bin/0ungit-credentials-helper" "$pkgdir/usr/bin/ungit-credentials-helper" + mv "${pkgdir}/usr/bin/0ungit-credentials-helper" "${pkgdir}/usr/bin/ungit-credentials-helper" } - |