1 # Contributor: Anton Leontiev <bunder /at/ t-25.ru>
6 pkgdesc="Tool to extract data points from graphical plots"
7 url="http://star.physics.yale.edu/~ullrich/xyscanDistributionPage/"
10 source=(http://star.physics.yale.edu/~ullrich/xyscanDistributionPage/3.31/$pkgname-3.31-src.tar.gz
11 xyscan-3.3.1-docs.patch
13 md5sums=("af25ded942dbfdc4e73c5f9986db6e2e"
14 "22093f1c22b73f95de1cbfee14d74dc4"
15 "2df01c952f8425d05e0d138778ca5be9")
16 install=xyscan.install
20 patch -i "$srcdir/$pkgname-$pkgver-docs.patch"
21 qmake -o Makefile xyscan.pro
27 install --mode=755 -D xyscan $pkgdir/usr/bin/xyscan
28 install --mode=755 --directory $pkgdir/usr/share/doc/xyscan/{en,fr}
29 install --mode=644 --target-directory=$pkgdir/usr/share/doc/xyscan/en docs/en/*
30 install --mode=644 --target-directory=$pkgdir/usr/share/doc/xyscan/fr docs/fr/*
31 install --mode=644 -D images/xyscanIcon.png $pkgdir/usr/share/icons/hicolor/32x32/apps/xyscan.png
32 if test -x /usr/bin/desktop-file-install; then
33 /usr/bin/desktop-file-install --dir $pkgdir/usr/share/applications $srcdir/xyscan.desktop
35 install --mode=644 -D $srcdir/xyscan.desktop $pkgdir/usr/share/applications/xyscan.desktop