[arch-commits] Commit in simh/trunk (PKGBUILD)

Sergej Pupykin spupykin at archlinux.org
Sat Sep 28 19:43:34 UTC 2019


    Date: Saturday, September 28, 2019 @ 19:43:33
  Author: spupykin
Revision: 512032

upgpkg: simh 3.10-1

Modified:
  simh/trunk/PKGBUILD

----------+
 PKGBUILD |   19 ++++++++++---------
 1 file changed, 10 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-09-28 19:35:35 UTC (rev 512031)
+++ PKGBUILD	2019-09-28 19:43:33 UTC (rev 512032)
@@ -2,9 +2,10 @@
 # Contributor: waterbear <st92.at.freeshell.org>
 
 pkgname=simh
-pkgver=3.9.0
-_pkgver=39-0
-pkgrel=4
+pkgver=3.10
+#_pkgver=${pkgver//./-}
+#_pkgver=${pkgver/-/.}
+pkgrel=1
 pkgdesc="simulator for assorted historical computers, from Altair to VAX"
 arch=('x86_64')
 url="http://simh.trailing-edge.com"
@@ -12,25 +13,25 @@
 depends=("libpcap")
 makedepends=("unzip" "linux-api-headers")
 install=simh.install
-source=("http://simh.trailing-edge.com/sources/simhv${_pkgver}.zip"
+source=("$pkgname-$pkgver.tar.gz::https://github.com/simh/simh/archive/v$pkgver.tar.gz"
 	"LICENSE")
-sha512sums=('5e8cbf92e980b7cb40d68ff60a266f70c0bef0eecdc169a8077ae72a6a71fe12a7be5c62bd033ca36727e2cb8f266a5a6f8a5ed6dd509afbf0a9d7b618f1a4f6'
+sha512sums=('287f68079df778910b9a1a1b9066342750fea35aa943037756d9cd929913b4c709fe50c91f402b1199f999d16ec669aa1af0539b2dba01462a4befeeeba88d27'
             '084faf8a66c95cb337bca19a6116c916aa04fc23ec5d57d5d8c2fc168231272123a705e83f8da2bf38f404da51727a69db68ffd87b36028e0cde52b54b92b2dd')
 
 build() {
-  cd "$srcdir"
+  cd "$srcdir/$pkgname-$pkgver"
   mkdir -p BIN
-  find VAX -type f -exec sed -i 's/SIM_INLINE//' {} +
+#  find VAX -type f -exec sed -i 's/SIM_INLINE//' {} +
   make USE_TAP_NETWORK=1 USE_NETWORK=1 NETWORK_OPT='-DUSE_NETWORK -DUSE_TAP_NETWORK -isystem /usr/include -lpcap'
 }
 
 package() {
-  cd "$srcdir/BIN"
+  cd "$srcdir/$pkgname-$pkgver/BIN"
   for i in *; do
     install -D $i "$pkgdir/usr/bin/simh-$i"
   done
 
-  cd "$srcdir/VAX"
+  cd "$srcdir/$pkgname-$pkgver/VAX"
   mkdir -p "$pkgdir/usr/lib/simh"
   cp *.bin "$pkgdir/usr/lib/simh"
 


More information about the arch-commits mailing list