diff options
author | Dušan Simić | 2022-02-09 18:01:00 +0100 |
---|---|---|
committer | Dušan Simić | 2022-02-09 18:01:00 +0100 |
commit | 2be5227b14696d407c02b560d8946d2ccd7c8591 (patch) | |
tree | 685f7fed7da66d004c1d3c98b7df3761fd77bb98 | |
parent | f6eae85857fee31ef809ce08d7cbca5614f523e8 (diff) | |
download | aur-2be5227b14696d407c02b560d8946d2ccd7c8591.tar.gz |
Update to 5.0.0
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 13 |
2 files changed, 9 insertions, 10 deletions
@@ -1,6 +1,6 @@ pkgbase = zx pkgdesc = A tool for writing better scripts - pkgver = 4.3.0 + pkgver = 5.0.0 pkgrel = 1 url = https://github.com/google/zx arch = any @@ -8,7 +8,7 @@ pkgbase = zx makedepends = npm makedepends = git depends = nodejs - source = https://github.com/google/zx/archive/4.3.0.tar.gz - sha512sums = 45a5fd20a2c5e5f387ec54f41baa13c338a650a822dc9ce474123451f74cac043ca1023c77eb3f9842c03c5596e9d3ce924b6159d43ae672c7c3e46701a96df0 + source = git+https://github.com/google/zx.git#commit=7977cb5adb9545082b8edb8bfe647dedfcb98b42 + md5sums = SKIP pkgname = zx @@ -1,7 +1,8 @@ # Maintainer: Dušan Simić <dusan.simic1810@gmail.com> pkgname=zx -pkgver=4.3.0 +pkgver=5.0.0 +_commit=7977cb5adb9545082b8edb8bfe647dedfcb98b42 pkgrel=1 pkgdesc='A tool for writing better scripts' arch=(any) @@ -9,16 +10,16 @@ url=https://github.com/google/zx license=(Apache) depends=(nodejs) makedepends=(npm git) -source=("$url/archive/$pkgver.tar.gz") -sha512sums=('45a5fd20a2c5e5f387ec54f41baa13c338a650a822dc9ce474123451f74cac043ca1023c77eb3f9842c03c5596e9d3ce924b6159d43ae672c7c3e46701a96df0') +source=("git+$url.git#commit=$_commit") +md5sums=(SKIP) build() { - cd "$pkgname-$pkgver" + cd "$pkgname" npm install --production } package() { - cd "$pkgname-$pkgver" + cd "$pkgname" local _npmdir="$pkgdir/usr/lib/node_modules" install -d "$_npmdir/$pkgname" @@ -30,5 +31,3 @@ package() { install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" } - -# vim: syntax=sh |