summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD6
2 files changed, 6 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index a7aec754a10..28214e876d7 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,7 @@
pkgbase = engauge
pkgver = 12.1
pkgrel = 1
+ epoch = 1
url = http://markummitchell.github.io/engauge-digitizer/
install = engauge.install
arch = i686
@@ -13,6 +14,7 @@ pkgbase = engauge
makedepends = libpng
makedepends = openjpeg2
makedepends = poppler-qt5
+ options = !makeflags
source = engauge-12.1.tar.gz::https://github.com/markummitchell/engauge-digitizer/archive/v12.1.tar.gz
source = engauge.sh
source = engauge.desktop
@@ -33,4 +35,3 @@ pkgname = engauge
pkgname = engauge-samples
pkgdesc = sample image files for engauge copied into the doc subdirectory
arch = any
-
diff --git a/PKGBUILD b/PKGBUILD
index d7c1346359f..cdb02c1c171 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -8,6 +8,7 @@ pkgname=('engauge' 'engauge-samples')
pkgbase='engauge'
pkgver=12.1
pkgrel=1
+epoch=1
url="http://markummitchell.github.io/engauge-digitizer/"
arch=('i686' 'x86_64')
license=('GPL')
@@ -19,13 +20,14 @@ sha256sums=('b553c71ad8b5565a42ae0ba58891d27ac47ca27cc6d7a442c979b56b1fbda282'
'4b36a8aa23c5a95a552d33ce1bd75aa1a0be5fdf9ef06f321a060c753298dd18'
'1b3f2675058693d5653b5aee50fbec1530791de5fcdfbb2f86056a5d748695a4')
install=engauge.install
+options=('!makeflags')
build() {
cd ${_pkgbase}-$pkgver
- export OPENJPEG_INCLUDE=/usr/include/openjpeg-2.3 OPENJPEG_LIB=/usr/lib
+ export OPENJPEG_INCLUDE=/usr/include/openjpeg-2.4 OPENJPEG_LIB=/usr/lib
export POPPLER_INCLUDE=/usr/include/poppler/qt5 POPPLER_LIB=/usr/lib
qmake-qt5 engauge.pro "CONFIG+=pdf jpeg2000"
- make -j2
+ make
lrelease engauge.pro
}