summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorAnton Leontiev2015-08-25 08:49:15 +0300
committerAnton Leontiev2015-08-25 08:49:15 +0300
commit03cc38468afef11d89d466e4243573f109050c0a (patch)
tree8f3f0ae53f08f8c3a498f75f3174f38048edab05 /PKGBUILD
parent06faf3564308157117f1afeac749298287bd3c42 (diff)
downloadaur-03cc38468afef11d89d466e4243573f109050c0a.tar.gz
Updated to v4.0.0
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD26
1 files changed, 14 insertions, 12 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 81ba21f044e..318748b9715 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,23 +1,26 @@
# Contributor: Anton Leontiev <bunder /at/ t-25.ru>
pkgname=xyscan
-pkgver=3.3.3
-pkgrel=2
+pkgver=4.0.0
+pkgrel=1
arch=('i686' 'x86_64')
pkgdesc='Tool to extract data points from graphical plots'
-url='http://star.physics.yale.edu/~ullrich/xyscanDistributionPage/'
+url='http://rhig.physics.yale.edu/~ullrich/software/xyscan/'
license=('GPL')
-depends=('qt5-multimedia>=5.2.0')
-source=(http://rhig.physics.yale.edu/~ullrich/software/$pkgname/Distributions/3.33/$pkgname-3.33-src.tar.gz
- xyscan-$pkgver-docs.patch
+depends=('qt5-multimedia>=5.2.0' 'poppler-qt5')
+source=(http://rhig.physics.yale.edu/~ullrich/software/$pkgname/Distributions/4.00/$pkgname-4.00-src.tar.gz
xyscan.desktop)
-md5sums=('d236ee95950edbf0dfef895ea59aafcd'
- '22093f1c22b73f95de1cbfee14d74dc4'
+md5sums=('57000c8e4192c9185647ffb37fad6eca'
'2df01c952f8425d05e0d138778ca5be9')
install=xyscan.install
+prepare() {
+ cd $pkgname
+ sed -i 's:/usr/local/share/xyscan/docs:/usr/share/doc/xyscan:' xyscanWindow.cpp
+ sed -i 's:/usr/local:/usr:' xyscan.pro
+}
+
build() {
cd $pkgname
- patch -i ../$pkgname-$pkgver-docs.patch
qmake-qt5
make
}
@@ -25,9 +28,8 @@ build() {
package() {
cd $pkgname
install --mode=755 -D xyscan $pkgdir/usr/bin/xyscan
- install --mode=755 --directory $pkgdir/usr/share/doc/xyscan/{en,fr}
- install --mode=644 --target-directory=$pkgdir/usr/share/doc/xyscan/en docs/en/*
- install --mode=644 --target-directory=$pkgdir/usr/share/doc/xyscan/fr docs/fr/*
+ install --mode=755 --directory $pkgdir/usr/share/doc/xyscan
+ install --mode=644 --target-directory=$pkgdir/usr/share/doc/xyscan docs/*
install --mode=644 -D images/xyscanIcon.png $pkgdir/usr/share/pixmaps/xyscan.png
if test -x /usr/bin/desktop-file-install; then
/usr/bin/desktop-file-install --dir $pkgdir/usr/share/applications $srcdir/xyscan.desktop