summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorhaawda2019-07-20 10:24:00 +0200
committerhaawda2019-07-20 10:24:00 +0200
commitb32e095be32d6acfd499c8836c343b3dd0e61cf7 (patch)
tree9d4afc3155b503c36efe7d234871c73ed57042f8
parent193b3a4e90c824f0ba7dd1662f4ca4376617a761 (diff)
downloadaur-b32e095be32d6acfd499c8836c343b3dd0e61cf7.tar.gz
unify cd-commands
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD10
2 files changed, 6 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index f38521e4a35..02e5c4511cc 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,5 +1,5 @@
pkgbase = engauge-git
- pkgver = 11.2.r15.g6b86ea56
+ pkgver = 11.3.r1.gbed09aa6
pkgrel = 1
url = http://markummitchell.github.io/engauge-digitizer/
install = engauge.install
diff --git a/PKGBUILD b/PKGBUILD
index c4f579d4b98..e783c8d4a6e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,7 +5,7 @@
_pkgbase='engauge-digitizer'
pkgname=('engauge-git' 'engauge-samples-git')
pkgbase=engauge-git
-pkgver=11.2.r15.g6b86ea56
+pkgver=11.3.r1.gbed09aa6
pkgrel=1
url="http://markummitchell.github.io/engauge-digitizer/"
arch=('i686' 'x86_64')
@@ -20,12 +20,12 @@ sha256sums=('SKIP'
install=engauge.install
pkgver() {
- cd "$_pkgbase"
+ cd $_pkgbase
git describe --tags --long | sed 's+-+.r+'|tr - .|cut -c2-
}
build() {
- cd ${_pkgbase}
+ cd $_pkgbase
export OPENJPEG_INCLUDE=/usr/include/openjpeg-2.3 OPENJPEG_LIB=/usr/lib
export POPPLER_INCLUDE=/usr/include/poppler/qt5 POPPLER_LIB=/usr/lib
qmake-qt5 engauge.pro "CONFIG+=pdf"
@@ -38,7 +38,7 @@ package_engauge-git() {
depends=('qt5-tools' 'fftw' 'log4cpp' 'libpng' 'libjpeg-turbo' 'openjpeg2' 'poppler-qt5')
conflicts=('engauge')
provides=('engauge')
- cd ${_pkgbase}
+ cd $_pkgbase
install -Dm755 ../${pkgbase%-git}.sh "$pkgdir"/usr/bin/${pkgbase%-git}
install -Dm755 bin/${pkgbase%-git} "$pkgdir"/usr/lib/$_pkgbase/${pkgbase%-git}
# translations
@@ -58,7 +58,7 @@ package_engauge-samples-git() {
conflicts=('engauge-samples')
provides=('engauge-samples')
- cd ${_pkgbase}
+ cd $_pkgbase
install -d "$pkgdir"/usr/share/doc/$_pkgbase
cp -r samples "$pkgdir"/usr/share/doc/$_pkgbase
}