summaryrefslogtreecommitdiff
path: root/community/gnucap/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/gnucap/PKGBUILD')
-rw-r--r--community/gnucap/PKGBUILD15
1 files changed, 10 insertions, 5 deletions
diff --git a/community/gnucap/PKGBUILD b/community/gnucap/PKGBUILD
index 622cf5e2d..7c92073d1 100644
--- a/community/gnucap/PKGBUILD
+++ b/community/gnucap/PKGBUILD
@@ -1,25 +1,30 @@
-# $Id: PKGBUILD 6388 2009-12-09 17:45:13Z foutrelis $
-# Maintainer: Evangelos Foutras <foutrelis@gmail.com>
+# $Id: PKGBUILD 55492 2011-09-13 05:23:39Z foutrelis $
+# Maintainer: Evangelos Foutras <evangelos@foutrelis.com>
# Contributor: Jared Casper <jaredcasper@gmail.com>
# Contributor: Georgij Kondratjev <smpuj@bk.ru>
pkgname=gnucap
pkgver=20091207
_pkgver=2009-12-07
-pkgrel=1
+pkgrel=2
pkgdesc="GNU Circuit Analysis Package"
arch=('i686' 'x86_64' 'mips64el')
url="http://gnucap.org/"
license=('GPL')
depends=('gcc-libs' 'readline')
source=(http://gnucap.org/devel/$pkgname-$_pkgver.tar.gz)
-md5sums=('30701d110a3e642c5826358c64d2fb1b')
+sha1sums=('a64be626b3e971437d677f14bc72eda0df6e7e3a')
build() {
cd "$srcdir/$pkgname-$_pkgver"
./configure --prefix=/usr
- make || return 1
+}
+
+package() {
+ cd "$srcdir/$pkgname-$_pkgver"
+
+ make
make DESTDIR="$pkgdir" install
}