diff options
-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. |