diff options
author | éclairevoyant | 2023-06-10 00:48:19 -0400 |
---|---|---|
committer | éclairevoyant | 2023-06-10 00:48:19 -0400 |
commit | 1acf2e5c7e212443f1455a86e8aefec70836b07a (patch) | |
tree | 6fe4ba9c62111f61e92e12e2b1c308910bc2524e | |
parent | ef46e12d76431b7fd5fd4b7f7fdda65f56eae143 (diff) | |
download | aur-1acf2e5c7e212443f1455a86e8aefec70836b07a.tar.gz |
netlistsvg-git: update deps, desc, .gitignore
-rw-r--r-- | .SRCINFO | 9 | ||||
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | PKGBUILD | 15 |
3 files changed, 18 insertions, 10 deletions
@@ -1,13 +1,14 @@ pkgbase = netlistsvg-git - pkgdesc = draws an SVG schematic from a yosys JSON netlist - pkgver = 1.0.2.r9.g1e187a7 + pkgdesc = Draws an SVG schematic from a yosys JSON netlist + pkgver = 1.0.2.r10.g752549e pkgrel = 1 url = https://github.com/nturley/netlistsvg arch = any license = MIT + makedepends = git + makedepends = npm depends = nodejs - depends = npm source = git+https://github.com/nturley/netlistsvg.git - md5sums = SKIP + b2sums = SKIP pkgname = netlistsvg-git diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..713f6f80aff8 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +/* +!/.gitignore +!/.SRCINFO +!/PKGBUILD @@ -1,22 +1,25 @@ # Maintainer: Paulo Matias <matias ufscar br> +# Maintainer: éclairevoyant + pkgname=netlistsvg-git -pkgver=1.0.2.r9.g1e187a7 +pkgver=1.0.2.r10.g752549e pkgrel=1 -pkgdesc="draws an SVG schematic from a yosys JSON netlist" +pkgdesc="Draws an SVG schematic from a yosys JSON netlist" url="https://github.com/nturley/netlistsvg" arch=(any) license=(MIT) -depends=(nodejs npm) +depends=(nodejs) +makedepends=(git npm) source=(git+https://github.com/nturley/netlistsvg.git) -md5sums=(SKIP) +b2sums=(SKIP) pkgver() { - cd "$srcdir/netlistsvg" + cd netlistsvg git describe --tags --long --abbrev=7 | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' } package() { - cd "$srcdir/netlistsvg" + cd netlistsvg npm install -g --prefix "${pkgdir}/usr" git+file://"$(pwd)" # Non-deterministic race in npm gives 777 permissions to random directories. |