[arch-commits] Commit in ngspice/trunk (PKGBUILD)
Kyle Keen
kkeen at gemini.archlinux.org
Sun Aug 15 10:20:42 UTC 2021
Date: Sunday, August 15, 2021 @ 10:20:42
Author: kkeen
Revision: 998706
upgpkg: ngspice 35-1
Modified:
ngspice/trunk/PKGBUILD
----------+
PKGBUILD | 22 ++++++++--------------
1 file changed, 8 insertions(+), 14 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-08-15 09:35:38 UTC (rev 998705)
+++ PKGBUILD 2021-08-15 10:20:42 UTC (rev 998706)
@@ -4,8 +4,8 @@
# Contributor: Luis Henrique <lmello.009 at gmail.com>
pkgname=ngspice
-pkgver=34
-pkgrel=2
+pkgver=35
+pkgrel=1
pkgdesc='Mixed-level/Mixed-signal circuit simulator based on Spice3f5, Ciber1b1, and Xspice.'
url='http://ngspice.sourceforge.net'
license=('BSD')
@@ -12,19 +12,14 @@
arch=('x86_64')
depends=('libxaw' 'libedit' 'gcc-libs')
source=("https://downloads.sourceforge.net/project/$pkgname/ng-spice-rework/$pkgver/$pkgname-$pkgver.tar.gz"
- "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')
+ "http://ngspice.sourceforge.net/docs/ngspice-$pkgver-manual.pdf")
+sha1sums=('61a39d0aa75f43a2325d444f7d837c978053ec39'
+ '0ac5d62eee5a641a69509e5e1d2ab6424704787e')
# figure out why libedit is okay, but readline isn't
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() {
@@ -61,11 +56,10 @@
install -D -m644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
install -D -m644 "$srcdir/ngspice-$pkgver-manual.pdf" "$pkgdir/usr/share/doc/$pkgname/manual.pdf"
- install -Dm755 src/.libs/libngspice.so.0.0.0 "$pkgdir/usr/lib/libngspice.so.0.0.0"
- ln -s "libngspice.so.0.0.0" "$pkgdir/usr/lib/libngspice.so.0"
- ln -s "libngspice.so.0.0.0" "$pkgdir/usr/lib/libngspice.so"
+ install -Dm755 src/.libs/libngspice.so.0.0.1 "$pkgdir/usr/lib/libngspice.so.0.0.1"
+ ln -s "libngspice.so.0.0.1" "$pkgdir/usr/lib/libngspice.so.0"
+ ln -s "libngspice.so.0.0.1" "$pkgdir/usr/lib/libngspice.so"
# FS#70563, probably remove on v35
install -Dm644 ngspice.pc "$pkgdir/usr/lib/pkgconfig/ngspice.pc"
install -Dm644 src/include/ngspice/sharedspice.h "$pkgdir/usr/include/ngspice/sharedspice.h"
- rm "$pkgdir/usr/include/config.h"
}
More information about the arch-commits
mailing list