diff options
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | .gitignore | 3 | ||||
-rw-r--r-- | PKGBUILD | 7 |
3 files changed, 6 insertions, 6 deletions
@@ -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.* @@ -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 \ |