summaryrefslogtreecommitdiff
path: root/community/freehdl
diff options
context:
space:
mode:
authorMichał Masłowski <mtjm@mtjm.eu>2012-05-04 00:47:11 +0200
committerMichał Masłowski <mtjm@mtjm.eu>2012-05-04 00:47:11 +0200
commitc39cbc60bd9cca21cdb7f174725bcd1f866e95d9 (patch)
treee1ab5429c30dcac4e282e1fba53182f0ea509d75 /community/freehdl
parent70dd19e62605010a1403e8e28a9d40ca5b09409a (diff)
parent5520a8b04cecf4af812cbf2285e9ab6efabe147f (diff)
Merge branch 'master' of ssh://parabolagnulinux.org:1863/home/parabola/abslibre-pre-mips64el
Conflicts: community/libgringotts/PKGBUILD community/ruby-gtk2/PKGBUILD community/steghide/PKGBUILD community/twin/PKGBUILD core/bzip2/PKGBUILD multilib/lib32-mpg123/PKGBUILD testing/samba/PKGBUILD testing/xfsprogs/PKGBUILD
Diffstat (limited to 'community/freehdl')
-rw-r--r--community/freehdl/PKGBUILD21
-rw-r--r--community/freehdl/freehdl.install20
2 files changed, 32 insertions, 9 deletions
diff --git a/community/freehdl/PKGBUILD b/community/freehdl/PKGBUILD
index 4e9abcbbf..c5ed65043 100644
--- a/community/freehdl/PKGBUILD
+++ b/community/freehdl/PKGBUILD
@@ -1,26 +1,29 @@
-# $Id: PKGBUILD 65198 2012-02-20 10:11:43Z spupykin $
+# $Id: PKGBUILD 70171 2012-05-01 11:23:50Z andrea $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Neil Darlow <neil@darlow.co.uk>
# Contributor: Jens Maucher <defcon@archlinux.us>
pkgname=freehdl
pkgver=0.0.8
-_qucsver=0.0.16
-pkgrel=2
+pkgrel=3
pkgdesc='An open-source (C++ generating) VHDL simulator'
arch=('i686' 'x86_64' 'mips64el')
url='http://freehdl.seul.org'
license=('GPL')
-depends=('gcc-libs' 'libtool' 'perl')
-makedepends=('bison' 'flex' 'gawk' 'pkgconfig')
+depends=('perl')
optdepends=('gtkwave: to view output when run standalone')
-options=(!libtool)
-source=(http://downloads.sourceforge.net/project/qucs/qucs/${_qucsver}/freehdl-$pkgver.tar.gz)
+options=('!libtool')
+install=${pkgname}.install
+source=("http://downloads.sourceforge.net/qucs/$pkgname-$pkgver.tar.gz")
md5sums=('aa1382b8b5c6a972e9652c648a9278b5')
build() {
- cd $srcdir/$pkgname-$pkgver
+ cd "${srcdir}"/$pkgname-$pkgver
./configure --prefix=/usr
make
- make DESTDIR=$pkgdir install
+}
+
+package() {
+ cd "${srcdir}"/$pkgname-$pkgver
+ make DESTDIR="${pkgdir}" install
}
diff --git a/community/freehdl/freehdl.install b/community/freehdl/freehdl.install
new file mode 100644
index 000000000..15e22d4b5
--- /dev/null
+++ b/community/freehdl/freehdl.install
@@ -0,0 +1,20 @@
+infodir=usr/share/info
+filelist=(fire.info)
+
+post_install() {
+ [ -x usr/bin/install-info ] || return 0
+ for file in ${filelist[@]}; do
+ install-info $infodir/$file.gz $infodir/dir 2> /dev/null
+ done
+}
+
+post_upgrade() {
+ post_install
+}
+
+pre_remove() {
+ [ -x usr/bin/install-info ] || return 0
+ for file in ${filelist[@]}; do
+ install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null
+ done
+}