summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO18
-rw-r--r--PKGBUILD31
-rw-r--r--engauge.desktop8
-rw-r--r--engauge.install6
4 files changed, 63 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..4c73386d791
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,18 @@
+pkgbase = engauge
+ pkgdesc = A Digitizer for curves and scanned plots
+ pkgver = 5.2
+ pkgrel = 1
+ url = http://digitizer.sourceforge.net/
+ install = engauge.install
+ arch = i686
+ arch = x86_64
+ license = GPL
+ depends = qt4
+ depends = fftw
+ source = http://downloads.sourceforge.net/project/digitizer/Engauge%20Digitizer/digitizer-5.2/engauge_5.2.tgz
+ source = engauge.desktop
+ md5sums = 2fbd9c81fa9e910f871560767bbb52bc
+ md5sums = 53def24f20c3d0178d3cf1b8c574fe15
+
+pkgname = engauge
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..dff542712f6
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,31 @@
+# Contributor: Stefan Husmann <stefan-husmann@t-online.de>
+pkgname=engauge
+pkgver=5.2
+pkgrel=1
+pkgdesc="A Digitizer for curves and scanned plots"
+url="http://digitizer.sourceforge.net/"
+arch=('i686' 'x86_64')
+license=('GPL')
+depends=('qt4' 'fftw')
+source=("http://downloads.sourceforge.net/project/digitizer/Engauge%20Digitizer/digitizer-$pkgver/${pkgname}_${pkgver}.tgz" "$pkgname.desktop")
+md5sums=('2fbd9c81fa9e910f871560767bbb52bc'
+ '53def24f20c3d0178d3cf1b8c574fe15')
+install=engauge.install
+
+build() {
+ cd $srcdir/$pkgname-$pkgver
+ qmake-qt4 digitizer.pro
+ make
+}
+
+package() {
+ cd $srcdir/$pkgname-$pkgver
+ install -Dm755 bin/$pkgname $pkgdir/usr/bin/$pkgname
+ install -Dm644 usermanual/animation.png \
+ $pkgdir/usr/share/icons/$pkgname.png
+ install -d $pkgdir/usr/share/doc/$pkgname
+ cp -r samples $pkgdir/usr/share/doc/$pkgname
+ cp -r usermanual $pkgdir/usr/share/doc/$pkgname
+ install -Dm644 $srcdir/$pkgname.desktop \
+ $pkgdir/usr/share/applications/$pkgname.desktop
+}
diff --git a/engauge.desktop b/engauge.desktop
new file mode 100644
index 00000000000..900bdb17db4
--- /dev/null
+++ b/engauge.desktop
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Name=Engauge
+Comment=A Digitizer for curves and scanned plots.
+Exec=engauge -manual /usr/share/doc/engauge/usermanual
+Icon=engauge
+Terminal=0
+Type=Application
+Categories=Science;Math; \ No newline at end of file
diff --git a/engauge.install b/engauge.install
new file mode 100644
index 00000000000..b8906aff7a3
--- /dev/null
+++ b/engauge.install
@@ -0,0 +1,6 @@
+post_install() {
+ echo "To read the manual from within engauge, "
+ echo "run engauge the following way:"
+ echo "engauge -manual /usr/share/engauge/doc/usermanual/"
+ echo "Or set the variable ENGAUGE_USERMANUL accordingly."
+}