diff options
author | Dimitris Kiziridis | 2020-05-15 05:18:39 +0300 |
---|---|---|
committer | Dimitris Kiziridis | 2020-05-15 05:18:39 +0300 |
commit | 04057e1d9714b49ecc5882147e9c8980c35f5e17 (patch) | |
tree | f69248feebbed8f91ba3be9c940c7a7372949441 | |
parent | 058713427765f8e71c070ad3e0717a77ed84c617 (diff) | |
download | aur-scaffold-static.tar.gz |
Update to 1.8.6
-rw-r--r-- | .SRCINFO | 11 | ||||
-rw-r--r-- | PKGBUILD | 13 |
2 files changed, 13 insertions, 11 deletions
@@ -1,14 +1,15 @@ pkgbase = scaffold-static pkgdesc = Scaffolding utility for vanilla-js - pkgver = 1.5.0 + pkgver = 1.8.6 pkgrel = 1 url = https://www.npmjs.com/package/scaffold-static arch = any - license = GPL-3.0 + license = GPL3 makedepends = npm - noextract = v1.5.0.tar.gz - source = https://github.com/jamesgeorge007/scaffold-static/archive/v1.5.0.tar.gz - md5sums = 27522b905344fb01a625195376b6d4a4 + depends = nodejs + noextract = scaffold-static-1.8.6.tar.gz + source = scaffold-static-1.8.6.tar.gz::https://github.com/jamesgeorge007/scaffold-static/archive/v1.8.6.tar.gz + sha256sums = f593032f46fcd7c582ae2af02d963a0e2d2cc573045810b891ac8181f8ee82b0 pkgname = scaffold-static @@ -1,19 +1,20 @@ # Maintainer: Dimitris Kiziridis <ragouel at outlook dot com> pkgname=scaffold-static -pkgver=1.5.0 +pkgver=1.8.6 pkgrel=1 pkgdesc="Scaffolding utility for vanilla-js" arch=('any') url='https://www.npmjs.com/package/scaffold-static' -license=('GPL-3.0') +license=('GPL3') +depends=('nodejs') makedepends=('npm') -noextract=("v${pkgver}.tar.gz") -source=("https://github.com/jamesgeorge007/scaffold-static/archive/v${pkgver}.tar.gz") -md5sums=('27522b905344fb01a625195376b6d4a4') +noextract=("${pkgname}-${pkgver}.tar.gz") +source=("${pkgname}-${pkgver}.tar.gz::https://github.com/jamesgeorge007/scaffold-static/archive/v${pkgver}.tar.gz") +sha256sums=('f593032f46fcd7c582ae2af02d963a0e2d2cc573045810b891ac8181f8ee82b0') package() { - npm install -g --user root --prefix "${pkgdir}/usr" "${srcdir}/v${pkgver}.tar.gz" + npm install -g --user root --prefix "${pkgdir}/usr" "${srcdir}/${pkgname}-${pkgver}.tar.gz" find "$pkgdir" -name package.json -print0 | xargs -r -0 sed -i '/_where/d' find "${pkgdir}/usr" -type d -exec chmod 755 {} + local tmppackage="$(mktemp)" |