summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO2
-rw-r--r--.gitignore3
-rw-r--r--PKGBUILD7
3 files changed, 6 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index c248f72d0dda..3f864c6310c1 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = gfxbench
pkgdesc = Unified graphics benchmark based on DXBenchmark (DirectX) and GLBenchmark (OpenGL ES)
pkgver = 4.0.13
- pkgrel = 4
+ pkgrel = 5
url = https://gfxbench.com/
arch = i686
arch = x86_64
diff --git a/.gitignore b/.gitignore
index c97f963b3da6..d45272ac193f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
-*.sh
+/*.sh
+/*.pkg.*
diff --git a/PKGBUILD b/PKGBUILD
index 491642358efb..1be5ed9df154 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=gfxbench
pkgver=4.0.13
-pkgrel=4
+pkgrel=5
pkgdesc="Unified graphics benchmark based on DXBenchmark (DirectX) and GLBenchmark (OpenGL ES)"
url='https://gfxbench.com/'
arch=('i686' 'x86_64')
@@ -17,9 +17,8 @@ sha1sums_x86_64=('c5740e8a36169c2210fe94185d0b8db8cb757ffb')
package() {
cd "${srcdir}"
- # Script modifies the running user's files; let's delete that code
- # without changing the line numbers
- sed 's,^.*~/.local/share/applications.*$,,' -i "${_basename}".sh
+ # Script modifies the running user's files; prevent that by redirecting $HOME
+ export HOME=$PWD
install -dm755 "${pkgdir}"/opt/"${pkgname}"
sh "${_basename}".sh \