diff options
author | Darren Ng | 2021-01-03 19:25:51 +0800 |
---|---|---|
committer | Darren Ng | 2021-01-03 19:25:51 +0800 |
commit | 31f4384170648a531eff98d552272b60a97b1cd2 (patch) | |
tree | d93baa24342e0b2fbe079caadcce7b8f5b9f6211 | |
download | aur-31f4384170648a531eff98d552272b60a97b1cd2.tar.gz |
init
-rw-r--r-- | .SRCINFO | 18 | ||||
-rw-r--r-- | .gitignore | 5 | ||||
-rw-r--r-- | PKGBUILD | 31 |
3 files changed, 54 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..b038d84a4693 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,18 @@ +pkgbase = netlistviewer-svn + pkgdesc = a tool capable of loading netlists in text format (currently only SPICE netlists) and convert them in a schematic (i..e graphical) form + pkgver = r41 + pkgrel = 1 + url = https://sourceforge.net/projects/netlistviewer/ + arch = x86_64 + license = custom:unknown + makedepends = subversion + makedepends = boost + depends = boost-libs + depends = wxgtk2 + provides = netlistviewer + conflicts = netlistviewer + source = netlistviewer::svn+https://svn.code.sf.net/p/netlistviewer/code/trunk + md5sums = SKIP + +pkgname = netlistviewer-svn + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..c6a9b954b0ed --- /dev/null +++ b/.gitignore @@ -0,0 +1,5 @@ +* + +!.gitignore +!PKGBUILD +!.SRCINFO diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..4a3939ccb7f5 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,31 @@ +# Maintainer: Darren Ng <$(base64 --decode <<<'ZGFycmVuMTk5NzA4MTBAZ21haWwuY29tCg==')> + +pkgname=netlistviewer-svn +pkgver=r41 +pkgrel=1 +pkgdesc="a tool capable of loading netlists in text format (currently only SPICE netlists) and convert them in a schematic (i..e graphical) form" +arch=("x86_64") +url="https://sourceforge.net/projects/netlistviewer/" +license=('custom:unknown') +depends=('boost-libs' 'wxgtk2') +makedepends=('subversion' 'boost') +provides=("${pkgname%-svn}") +conflicts=("${pkgname%-svn}") +source=("${pkgname%-svn}::svn+https://svn.code.sf.net/p/netlistviewer/code/trunk") +md5sums=('SKIP') + +pkgver() { + cd "$srcdir/${pkgname%-svn}" + printf "r%s" "$(svnversion | tr -d 'A-z')" +} + +build() { + cd "$srcdir/${pkgname%-svn}/NetlistViewer/build/linux" + make all +} + +package() { + cd "$srcdir/${pkgname%-svn}/NetlistViewer/" + install -Dm755 build/linux/NetlistViewer "$pkgdir/usr/bin/${pkgname%-svn}" + install -dm755 "$pkgdir/usr/share/${pkgname%-svn}"; cp -r examples tests "$_/" +} |