git » iverilog.git » commit c680735

upgpkg: 10.0-1

author Alexander Rødseth
2015-08-25 17:52:42 UTC
committer Alexander Rødseth
2015-08-25 17:52:42 UTC
parent 8f6f3f54b3aa044803939b6adc444a5715c34d14

upgpkg: 10.0-1

PKGBUILD +14 -8

diff --git a/PKGBUILD b/PKGBUILD
index aabd4b6..21fb67a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,28 +4,34 @@
 # Contributor: Paulo Matias <matias archlinux-br org>
 
 pkgname=iverilog
-pkgver=0.9.7
-pkgrel=3
+pkgver=10.0
+pkgrel=1
 pkgdesc='Icarus Verilog compiler and simulation tool'
 arch=('x86_64' 'i686')
 url='http://iverilog.icarus.com/'
-# http://iverilog.wikia.com/wiki/Release_Notes_Icarus_Verilog_0_9
 license=('GPL')
-makedepends=('readline' 'gperf')
+makedepends=('readline' 'gperf' 'git' 'gcc')
 depends=('bzip2' 'sh' 'gcc-libs' 'zlib')
 options=('staticlibs')
-source=("ftp://ftp.icarus.com/pub/eda/verilog/v0.9/verilog-$pkgver.tar.gz")
-sha256sums=('7a5e72e17bfb4c3a59264d8f3cc4e70a7c49c1307173348fdd44e079388e7454')
+source=("git://github.com/steveicarus/iverilog#tag=v${pkgver/./_}")
+md5sums=('SKIP')
+
+prepare() {
+  cd "$pkgname"
+
+  aclocal
+  autoconf
+}
 
 build() {
-  cd "${pkgname/i}-$pkgver"
+  cd "$pkgname"
 
   ./configure --prefix=/usr
   make
 }
 
 package() {
-  make -C "${pkgname/i}-$pkgver" -j1 prefix="$pkgdir/usr" install
+  make -C "$pkgname" -j1 prefix="$pkgdir/usr" install
 }
 
 # vim:set ts=2 sw=2 et: