[arch-commits] Commit in ngspice/repos/community-x86_64 (PKGBUILD PKGBUILD)
Kyle Keen
kkeen at gemini.archlinux.org
Sun May 29 07:42:49 UTC 2022
Date: Sunday, May 29, 2022 @ 07:42:49
Author: kkeen
Revision: 1213928
archrelease: copy trunk to community-x86_64
Added:
ngspice/repos/community-x86_64/PKGBUILD
(from rev 1213927, ngspice/trunk/PKGBUILD)
Deleted:
ngspice/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 133 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 67 insertions(+), 66 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-05-29 07:42:35 UTC (rev 1213927)
+++ PKGBUILD 2022-05-29 07:42:49 UTC (rev 1213928)
@@ -1,66 +0,0 @@
-# Maintainer: Kyle Keen <keenerd at gmail.com>
-# Contributor: Abhishek Dasgupta <abhidg at gmail.com>
-# Contributor: Jason Taylor <jftaylor21 at gmail.com>
-# Contributor: Luis Henrique <lmello.009 at gmail.com>
-
-pkgname=ngspice
-pkgver=36
-pkgrel=2
-pkgdesc='Mixed-level/Mixed-signal circuit simulator based on Spice3f5, Ciber1b1, and Xspice.'
-url='http://ngspice.sourceforge.net'
-license=('BSD')
-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")
-sha1sums=('798a9b6880563a2c265b5fee14be0977b09f686f'
- 'fd08dbfdd111dd6872677ba5e04d11049438455b')
-
-# figure out why libedit is okay, but readline isn't
-
-prepare() {
- cd "$srcdir/$pkgname-$pkgver"
-}
-
-build() {
- cd "$srcdir/$pkgname-$pkgver"
-
- # FS#45230, create so lib
- # shared lib sets flags and modifies headers, needs dedicated pass
- ./configure --prefix=/usr \
- --mandir=/usr/share/man \
- --infodir=/usr/share/info \
- --with-readline=no \
- --enable-xspice \
- --enable-cider \
- --enable-openmp \
- --disable-debug \
- --with-ngshared
- make
- #strip ./src/.libs/libngspice.so.0.0.0
-
- ./configure --prefix=/usr \
- --mandir=/usr/share/man \
- --infodir=/usr/share/info \
- --with-readline=no \
- --enable-xspice \
- --enable-cider \
- --disable-debug \
- --enable-openmp
- make
- # --enable-oldapps seems broken on v36?
-}
-
-package() {
- cd "$srcdir/$pkgname-$pkgver"
- make DESTDIR="$pkgdir" install
- 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.2 "$pkgdir/usr/lib/libngspice.so.0.0.2"
- ln -s "libngspice.so.0.0.2" "$pkgdir/usr/lib/libngspice.so.0"
- ln -s "libngspice.so.0.0.2" "$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"
-}
Copied: ngspice/repos/community-x86_64/PKGBUILD (from rev 1213927, ngspice/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-05-29 07:42:49 UTC (rev 1213928)
@@ -0,0 +1,67 @@
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+# Contributor: Abhishek Dasgupta <abhidg at gmail.com>
+# Contributor: Jason Taylor <jftaylor21 at gmail.com>
+# Contributor: Luis Henrique <lmello.009 at gmail.com>
+
+pkgname=ngspice
+pkgver=37
+_docver=36 # temporary, got tired of waiting
+pkgrel=1
+pkgdesc='Mixed-level/Mixed-signal circuit simulator based on Spice3f5, Ciber1b1, and Xspice.'
+url='http://ngspice.sourceforge.net'
+license=('BSD')
+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-$_docver-manual.pdf")
+sha1sums=('72117827db60f51be10659baa20bf97b2e754797'
+ 'fd08dbfdd111dd6872677ba5e04d11049438455b')
+
+# figure out why libedit is okay, but readline isn't
+
+prepare() {
+ cd "$srcdir/$pkgname-$pkgver"
+}
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ # FS#45230, create so lib
+ # shared lib sets flags and modifies headers, needs dedicated pass
+ ./configure --prefix=/usr \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ --with-readline=no \
+ --enable-xspice \
+ --enable-cider \
+ --enable-openmp \
+ --disable-debug \
+ --with-ngshared
+ make
+ #strip ./src/.libs/libngspice.so.0.0.0
+
+ ./configure --prefix=/usr \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ --with-readline=no \
+ --enable-xspice \
+ --enable-cider \
+ --disable-debug \
+ --enable-openmp
+ make
+ # --enable-oldapps seems broken on v36?
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make DESTDIR="$pkgdir" install
+ install -D -m644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+ install -D -m644 "$srcdir/ngspice-$_docver-manual.pdf" "$pkgdir/usr/share/doc/$pkgname/manual.pdf"
+
+ install -Dm755 src/.libs/libngspice.so.0.0.4 "$pkgdir/usr/lib/libngspice.so.0.0.4"
+ ln -s "libngspice.so.0.0.4" "$pkgdir/usr/lib/libngspice.so.0"
+ ln -s "libngspice.so.0.0.4" "$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"
+}
More information about the arch-commits
mailing list