summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorhaawda2017-04-05 19:58:36 +0200
committerhaawda2017-04-05 19:58:36 +0200
commitfcab29109597eb03edc08851691bed87fc8766f8 (patch)
tree2d5464fa63733593392f614048fc5b3ca00447ce
parent4095454c279a9dbeedb5c64f186da5e5ca92d7b0 (diff)
downloadaur-fcab29109597eb03edc08851691bed87fc8766f8.tar.gz
update, split out samples
-rw-r--r--.SRCINFO18
-rw-r--r--PKGBUILD27
2 files changed, 27 insertions, 18 deletions
diff --git a/.SRCINFO b/.SRCINFO
index a9820b89ab5..031dc8ff63c 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,22 +1,26 @@
pkgbase = engauge
- pkgdesc = A Digitizer for curves and scanned plots
- pkgver = 9.8
+ pkgver = 10.0
pkgrel = 1
url = http://markummitchell.github.io/engauge-digitizer/
install = engauge.install
arch = i686
arch = x86_64
license = GPL
- depends = qt5-tools
- depends = fftw
- depends = log4cpp
optdepends = libpng12: For reading png image files
optdepends = libjpeg-turbo: For reading jpeg image files
optdepends = openjpeg: For reading jpeg2000 image files
- source = engauge-9.8.tar.gz::https://github.com/markummitchell/engauge-digitizer/archive/v9.8.tar.gz
+ source = engauge-10.0.tar.gz::https://github.com/markummitchell/engauge-digitizer/archive/v10.0.tar.gz
source = engauge.desktop
- md5sums = 88926a0ab75328b9a796cf62d48f1ae6
+ md5sums = 24ca9841ccefff0645c157e2fa72daa9
md5sums = 53def24f20c3d0178d3cf1b8c574fe15
pkgname = engauge
+ pkgdesc = A Digitizer for curves and scanned plots
+ depends = qt5-tools
+ depends = fftw
+ depends = log4cpp
+
+pkgname = engauge-samples
+ pkgdesc = samples for engauge copied into the doc subdirectory
+ arch = any
diff --git a/PKGBUILD b/PKGBUILD
index 40b8fd785dc..34609156d68 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,19 +1,17 @@
# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
# Contributor: mcmillan <awmcmillan at gmail dot com>
-pkgname=engauge
-pkgver=9.8
+pkgname=('engauge' 'engauge-samples')
+pkgver=10.0
pkgrel=1
-pkgdesc="A Digitizer for curves and scanned plots"
url="http://markummitchell.github.io/engauge-digitizer/"
arch=('i686' 'x86_64')
license=('GPL')
-depends=('qt5-tools' 'fftw' 'log4cpp')
optdepends=('libpng12: For reading png image files'
'libjpeg-turbo: For reading jpeg image files'
'openjpeg: For reading jpeg2000 image files')
source=("$pkgname-$pkgver.tar.gz::https://github.com/markummitchell/$pkgname-digitizer/archive/v$pkgver.tar.gz" "$pkgname.desktop")
-md5sums=('88926a0ab75328b9a796cf62d48f1ae6'
+md5sums=('24ca9841ccefff0645c157e2fa72daa9'
'53def24f20c3d0178d3cf1b8c574fe15')
install=engauge.install
@@ -23,14 +21,21 @@ build() {
make
}
-package() {
+package_engauge() {
+ pkgdesc="A Digitizer for curves and scanned plots"
+ depends=('qt5-tools' 'fftw' 'log4cpp')
cd $srcdir/${pkgname}-digitizer-$pkgver
install -Dm755 bin/$pkgname $pkgdir/usr/bin/$pkgname
install -Dm644 help/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 help $pkgdir/usr/share/doc/$pkgname
+ $pkgdir/usr/share/icons/$pkgname.png
install -Dm644 $srcdir/$pkgname.desktop \
- $pkgdir/usr/share/applications/$pkgname.desktop
+ $pkgdir/usr/share/applications/$pkgname.desktop
+}
+
+package_engauge-samples() {
+ pkgdesc="samples for engauge copied into the doc subdirectory"
+ arch=('any')
+ cd $srcdir/${pkgbase}-digitizer-$pkgver
+ install -d $pkgdir/usr/share/doc/$pkgbase
+ cp -r samples $pkgdir/usr/share/doc/$pkgbase
}