[arch-commits] Commit in ngspice/trunk (PKGBUILD)
Kyle Keen
kkeen at archlinux.org
Fri Apr 23 09:50:59 UTC 2021
Date: Friday, April 23, 2021 @ 09:50:59
Author: kkeen
Revision: 922173
upgpkg: ngspice 34-1
Modified:
ngspice/trunk/PKGBUILD
----------+
PKGBUILD | 17 +++++++++++++----
1 file changed, 13 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-04-23 09:50:37 UTC (rev 922172)
+++ PKGBUILD 2021-04-23 09:50:59 UTC (rev 922173)
@@ -4,7 +4,7 @@
# Contributor: Luis Henrique <lmello.009 at gmail.com>
pkgname=ngspice
-pkgver=33
+pkgver=34
pkgrel=1
pkgdesc='Mixed-level/Mixed-signal circuit simulator based on Spice3f5, Ciber1b1, and Xspice.'
url='http://ngspice.sourceforge.net'
@@ -12,10 +12,19 @@
arch=('x86_64')
depends=('libxaw' 'libedit' 'gcc-libs' 'readline')
source=("https://downloads.sourceforge.net/project/$pkgname/ng-spice-rework/$pkgver/$pkgname-$pkgver.tar.gz"
- "http://ngspice.sourceforge.net/docs/ngspice-$pkgver-manual.pdf")
-sha1sums=('7cf0ff15564ae7f50b716cc3509c289c5bc7d214'
- 'c2303feed7efc2ca9dda90cace5c7d50f5dfe76d')
+ "http://ngspice.sourceforge.net/docs/ngspice-$pkgver-manual.pdf"
+ "https://github.com/imr/ngspice/commit/8abd8069a8.diff") # sf's git doesn't let you pull patches
+sha1sums=('b0aa799133921acea130119271e7495bf0882440'
+ 'c03b965f8b1ccbbc4707bda64cc6f9446fceaca0'
+ '786c3e45a041940d5c29262823147ad3b3dce455')
+prepare() {
+ cd "$srcdir/$pkgname-$pkgver"
+ # remove on v35 (https://sourceforge.net/p/ngspice/bugs/539/)
+ sed -i 's|int cp_maxhistlength|//&|' ../8abd8069a8.diff
+ patch -Np1 -i ../8abd8069a8.diff
+}
+
build() {
cd "$srcdir/$pkgname-$pkgver"
More information about the arch-commits
mailing list