summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDenis Kasak2015-06-08 22:43:37 +0200
committerDenis Kasak2015-06-08 22:43:37 +0200
commitd365f60d9d2a47b3bafac9591f65c74d1082e3b9 (patch)
treee56c2c15fcd18c76517de253435a1f275c7eb95a
downloadaur-d365f60d9d2a47b3bafac9591f65c74d1082e3b9.tar.gz
Initial import
-rw-r--r--.AURINFO17
-rw-r--r--.SRCINFO19
-rw-r--r--PKGBUILD47
-rw-r--r--qtstalker.desktop9
4 files changed, 92 insertions, 0 deletions
diff --git a/.AURINFO b/.AURINFO
new file mode 100644
index 00000000000..b46b6c8e4ce
--- /dev/null
+++ b/.AURINFO
@@ -0,0 +1,17 @@
+pkgbase = qtstalker
+ pkgdesc = Stock market, commodity and technical analysis charting application
+ pkgver = 0.36
+ pkgrel = 2
+ url = http://qtstalker.sourceforge.net/
+ arch = i686
+ arch = x86_64
+ license = gpl
+ depends = qt3>=3.3
+ depends = db>=4.1
+ depends = ta-lib>=0.3.0
+ source = http://downloads.sourceforge.net/qtstalker/qtstalker-0.36.tar.gz
+ source = qtstalker.desktop
+ options = docs
+
+pkgname = qtstalker
+
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..9fb374c197c
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,19 @@
+pkgbase = qtstalker
+ pkgdesc = Stock market, commodity and technical analysis charting application
+ pkgver = 0.36
+ pkgrel = 2
+ url = http://qtstalker.sourceforge.net/
+ arch = i686
+ arch = x86_64
+ license = gpl
+ depends = qt3>=3.3
+ depends = db>=4.1
+ depends = ta-lib>=0.3.0
+ options = docs
+ source = http://downloads.sourceforge.net/qtstalker/qtstalker-0.36.tar.gz
+ source = qtstalker.desktop
+ md5sums = 599589c4e84e828bd888fce6be81dab3
+ md5sums = ef3ab3f9d43440b10aa59515d5368cf9
+
+pkgname = qtstalker
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..7cf9d100ccc
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,47 @@
+# Contributor: Piotr Beling <qwak@stud.ics.p.lodz.pl>
+# Maintainer: Denis Kasak <reversed(moc.liamg@kasak.sined)>
+
+pkgname=qtstalker
+pkgver=0.36
+pkgrel=2
+pkgdesc="Stock market, commodity and technical analysis charting application"
+depends=('qt3>=3.3' 'db>=4.1' 'ta-lib>=0.3.0')
+url='http://qtstalker.sourceforge.net/'
+source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz" qtstalker.desktop)
+arch=('i686' 'x86_64')
+license=('gpl')
+options=('docs')
+md5sums=('599589c4e84e828bd888fce6be81dab3'
+ 'ef3ab3f9d43440b10aa59515d5368cf9')
+
+build() {
+ #. /etc/profile.d/qt3.sh
+ export QTDIR=/usr/lib/qt3
+ export QT_XFT=true
+ export PATH=$QTDIR/bin:$PATH
+ export PKG_CONFIG_PATH=/opt/qt/lib/pkgconfig:$PKG_CONFIG_PATH
+
+ cd $srcdir/$pkgname-$pkgver
+
+ #path patch:
+ grep -rl '/usr/local' * | xargs sed -i -e "s:/usr/local:/usr:g"
+
+ #gcc 4.3 no 'system' patch:
+ sed -i -e '36a#include <stdlib.h>\n' lib/UpgradeMessage.cpp
+ sed -i -e '45a#include <stdlib.h>\n' src/IndicatorPage.cpp
+ sed -i -e '20a#include <unistd.h>\n' lib/ExScript.h
+
+ sed -i -e '2s|-o|"INCLUDEPATH += /usr/include/qt3/" \-o|' configure
+
+ ./configure
+ make
+}
+
+package() {
+ cd $srcdir/$pkgname-$pkgver
+
+ make install INSTALL_ROOT=$pkgdir
+ install -D -m 644 -o root -g root pics/qtstalker.xpm $pkgdir/usr/share/pixmaps/qtstalker.xpm
+ install -D -m 644 -o root -g root ../qtstalker.desktop $pkgdir/usr/share/applications/qtstalker.desktop
+}
+
diff --git a/qtstalker.desktop b/qtstalker.desktop
new file mode 100644
index 00000000000..6390667e8ba
--- /dev/null
+++ b/qtstalker.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Name=QtStalker
+Exec=/usr/bin/qtstalker
+Icon=/usr/share/pixmaps/qtstalker.xpm
+Type=Application
+Categories=Application;Office;Finance;
+Comment=Stock market, commodity and technical analysis charting application
+Encoding=UTF-8
+StartupNotify=true