summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorYiyao Yu2019-06-21 11:35:38 +0800
committerYiyao Yu2019-06-21 11:35:38 +0800
commit2063bd4e5242491ed9fc7e2c5a0cf6b9ae17d1a3 (patch)
tree0c768a9842689ccb94ae7dc3238fdb15d11d7995 /PKGBUILD
parent8282c43b062506ed43ff9ee9dee0616fcba07860 (diff)
downloadaur-unigine-heaven.tar.gz
new download link
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD9
1 files changed, 5 insertions, 4 deletions
diff --git a/PKGBUILD b/PKGBUILD
index ae5c6f9347d..482e5216792 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,4 +1,5 @@
-# Maintainer: ajs124 < aur AT ajs124 DOT de >
+# Maintainer: xythrez <yuydevel at protonmail com>
+# Contributer: ajs124 < aur AT ajs124 DOT de >
# Contributer: meyithi <mail at meyithi dot com>
# Contributer: sl1pkn07 <sl1pkn07 at gmail dot com>
# Contributer: yannsen <ynnsen at gmail dot com>
@@ -6,7 +7,7 @@
pkgname=unigine-heaven
_pkgname=Unigine_Heaven
pkgver=4.0
-pkgrel=1
+pkgrel=2
pkgdesc="Unigine Benchmark"
arch=('i686' 'x86_64')
url="http://www.unigine.com"
@@ -20,10 +21,10 @@ sha512sums=('f075968d9812c7bd6a19cd27c48612203ce81f48b14ba56239419957fd3342adb31
[ "${CARCH}" = "x86_64" ] && _arch=x64
build() {
- sh "${_pkgname}"-"${pkgver}".run --target "${pkgname}" --noexec
+ sh "${_pkgname}"-"${pkgver}".run -- --target "${pkgname}" --noexec
}
package() {
- cd "${srcdir}"/"${pkgname}"
+ cd "${srcdir}"/"${_pkgname}-${pkgver}"
install -d "${pkgdir}"/opt/"${pkgname}"/bin/
install -m775 bin/*_"${_arch}"* "${pkgdir}"/opt/"${pkgname}"/bin/
cp -R data "${pkgdir}"/opt/"${pkgname}"/