summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorIngo Meyer2020-09-08 16:36:33 +0200
committerIngo Meyer2020-09-08 16:36:33 +0200
commitff3efa98d6a61dd12f76bad88c1568a839117e12 (patch)
tree160f2ea0e8f50ab34df19b98cc1b3b4b37fba7e7
parent321edf98f739d40e65b29fcc70914651ebf4aaf8 (diff)
downloadaur-ff3efa98d6a61dd12f76bad88c1568a839117e12.tar.gz
Remove unnecessary check if `gr.js` exists
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD8
2 files changed, 4 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 3a1d961c12d..db8c1382062 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = gr-framework
pkgdesc = A universal framework for cross-platform visualization applications.
pkgver = 0.52.0
- pkgrel = 2
+ pkgrel = 3
url = https://gr-framework.org
arch = i686
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index cba1c670c02..86c12ee47ec 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname="gr-framework"
pkgver="0.52.0"
-pkgrel="2"
+pkgrel="3"
pkgdesc="A universal framework for cross-platform visualization applications."
arch=("i686" "x86_64" "armv6h" "armv7h" "aarch64")
url="https://gr-framework.org"
@@ -33,8 +33,6 @@ build() {
package() {
cd "${srcdir}/gr-${pkgver}" || return
- DESTDIR="${pkgdir}" cmake --install build
- if [[ -f "js/gr.js" ]]; then
- cp "js/gr.js" "${pkgdir}/usr/gr/lib/" || return
- fi
+ DESTDIR="${pkgdir}" cmake --install build && \
+ cp "js/gr.js" "${pkgdir}/usr/gr/lib/"
}