summaryrefslogtreecommitdiff
path: root/community/gtkwave
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
commit415856bdd4f48ab4f2732996f0bae58595092bbe (patch)
treeede2018b591f6dfb477fe9341ba17b9bc000fab9 /community/gtkwave
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'community/gtkwave')
-rw-r--r--community/gtkwave/PKGBUILD37
-rw-r--r--community/gtkwave/gtkwave.install6
2 files changed, 43 insertions, 0 deletions
diff --git a/community/gtkwave/PKGBUILD b/community/gtkwave/PKGBUILD
new file mode 100644
index 000000000..477ec5817
--- /dev/null
+++ b/community/gtkwave/PKGBUILD
@@ -0,0 +1,37 @@
+# Maintainer: Thomas Dziedzic < gostrc at gmail >
+# Contributor: Jared Casper <jaredcasper@gmail.com>
+
+pkgname=gtkwave
+pkgver=3.3.20
+pkgrel=1
+pkgdesc='A wave viewer which reads LXT, LXT2, VZT, GHW and VCD/EVCD files'
+arch=('i686' 'x86_64')
+url='http://gtkwave.sourceforge.net'
+license=('GPL' 'MIT')
+depends=('gtk2')
+makedepends=('gperf')
+install="${pkgname}.install"
+source=("http://gtkwave.sourceforge.net/${pkgname}-${pkgver}.tar.gz")
+md5sums=('91f35ce56817b1a0b37a904be4e5f021')
+
+build() {
+ cd ${pkgname}-${pkgver}
+
+ ./configure \
+ --prefix=/usr \
+ --mandir=/usr/share/man \
+ --disable-tcl
+
+ make CFLAGS=-D_LARGEFILE64_SOURCE
+}
+
+package() {
+ cd ${pkgname}-${pkgver}
+
+ make -j1 prefix=${pkgdir}/usr mandir=${pkgdir}/usr/share/man install
+
+ install -D -m644 ${srcdir}/${pkgname}-${pkgver}/.gtkwaverc \
+ ${pkgdir}/usr/share/${pkgname}/sample.gtkwaverc
+ install -D -m644 ${srcdir}/${pkgname}-${pkgver}/MIT.TXT \
+ ${pkgdir}/usr/share/licenses/${pkgname}/MIT.TXT
+}
diff --git a/community/gtkwave/gtkwave.install b/community/gtkwave/gtkwave.install
new file mode 100644
index 000000000..3c64a44d6
--- /dev/null
+++ b/community/gtkwave/gtkwave.install
@@ -0,0 +1,6 @@
+post_install() {
+ echo 'Make sure you copy the /usr/share/gtkwave/sample.gtkwaverc file to'
+ echo 'your home directory (as .gtkwaverc) or to your VCD project directory.'
+ echo 'It contains the prefs for a good configuration that most people find'
+ echo 'ergonomic. It is not strictly necessary however.'
+}