summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD92
1 files changed, 92 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..b26f26ea597
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,92 @@
+# Maintainer: Darren Wu <$(base64 --decode <<<'ZGFycmVuMTk5NzA4MTBAZ21haWwuY29tCg==')>
+# Thanks: Jared Casper <jaredcasper@gmail.com>
+# Thanks: Kyle Keen <keenerd@gmail.com>
+# Thanks: Markus Koch <CClassicVideos@aol.com>
+# Thanks: Thomas Dziedzic < gostrc at gmail >
+
+pkgname=gtkwave-tcl
+pkgver=3.3.98
+pkgrel=1
+pkgdesc='A wave viewer which reads LXT, LXT2, VZT, GHW, FST and VCD/EVCD files (with Tcl/Tk support)'
+arch=('x86_64')
+url='http://gtkwave.sourceforge.net'
+license=('GPL' 'custom:MIT' 'custom')
+depends=(
+ 'bzip2'
+ 'dconf' # gsettings
+ 'desktop-file-utils'
+ # 'gcc' # -lgnu-intl
+ # 'gconf'
+ # 'gcr' # -lgck
+ # 'gimp'
+ 'glib2' # -lgobject -lgthread gsettings
+ 'gnutls' #
+ 'gtk2'
+ 'judy' # --enable-judy
+ 'libjpeg-turbo' # -ljpeg
+ 'libpng' # -lpng
+ 'libtiff' # -ltiff
+ 'tcl'
+ 'tk'
+ 'xz' # liblzma
+)
+makedepends=('gperf')
+provides=('gtkwave')
+conflicts=('gtkwave')
+install='gtkwave.install'
+source=("http://gtkwave.sourceforge.net/${pkgname%-tcl}-${pkgver}.tar.gz"
+ "http://gtkwave.sourceforge.net/${pkgname%-tcl}.pdf"
+ "gtkwave.install")
+
+md5sums=('eac3073ef381e0c09da33590296ca37f'
+ '0f2af8e45fd4173c93eb24d0caa69498'
+ 'ccbede6bf65569f5688f5254389eec53')
+
+build() {
+ cd "$srcdir/${pkgname%-tcl}-${pkgver}"
+
+ ./configure \
+ --prefix=/usr \
+ \
+ --disable-mime-update \
+ --enable-struct-pack \
+ --enable-fatlines \
+ --enable-manymarkers \
+ --disable-dependency-tracking \
+ --disable-local-libz \
+ --disable-local-libbz2 \
+ --enable-xz \
+ --enable-fasttree \
+ --enable-judy \
+ --enable-schemas-compile \
+ --enable-largefile \
+ --enable-tcl \
+ --enable-tk \
+ \
+ --with-gsettings \
+ --with-tcl=/usr/lib/tclConfig.sh \
+ --with-tk=/usr/lib/tkConfig.sh \
+
+ # --with-gconf \
+ # --with-tcl=/usr/lib/tcl8.6 \
+ # --with-tk=/usr/lib/tk8.6 \
+ # --with-xdgdatadir=path \
+
+ make CFLAGS="-D_LARGEFILE64_SOURCE -O"
+}
+
+package() {
+ cd "$srcdir/${pkgname%-tcl}-${pkgver}"
+
+ make DESTDIR="${pkgdir}" install
+ make DESTDIR="${pkgdir}" install-strip
+
+ mkdir -p "$pkgdir/usr/share/licenses/gtkwave"
+ install -D -m644 LICENSE.TXT \
+ "$pkgdir/usr/share/licenses/gtkwave/LICENSE.TXT"
+
+ mkdir -p "$pkgdir/usr/share/doc/gtkwave"
+ install -D -m644 "$srcdir/gtkwave.pdf" \
+ "$pkgdir/usr/share/doc/gtkwave/gtkwave.pdf"
+}
+