diff options
author | ajs124 | 2015-06-09 21:14:16 +0200 |
---|---|---|
committer | ajs124 | 2015-06-09 21:14:16 +0200 |
commit | a8d206d360ca6e7e2aa8cb38b841316354a77d48 (patch) | |
tree | 9624cb2e8ec49846dba1c6379eed5918698394f0 | |
download | aur-a8d206d360ca6e7e2aa8cb38b841316354a77d48.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 19 | ||||
-rw-r--r-- | PKGBUILD | 35 |
2 files changed, 54 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..443b6c77e5aa --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,19 @@ +pkgbase = unigine-heaven + pkgdesc = Unigine Benchmark + pkgver = 4.0 + pkgrel = 1 + url = http://www.unigine.com + arch = i686 + arch = x86_64 + license = custom:UNIGINE Engine + depends = libgl + depends = gcc-libs + depends = libxrandr + depends = libxinerama + depends = fontconfig + optdepends = openal: sound support + source = http://uk1-dl.techpowerup.com/Benchmarking/Unigine_Heaven-4.0.run + sha512sums = 3db8ae47c0f03bbd01c64e64021c83919a5b6b3f546aa426fe196021ae9e4cbcc44ead5b6a0315b6dd6817352ecb55a0b4a0758966198b12b6418b211551c902 + +pkgname = unigine-heaven + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..b861bedccd2c --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,35 @@ +# Maintainer: 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> + +pkgname=unigine-heaven +_pkgname=Unigine_Heaven +pkgver=4.0 +pkgrel=1 +pkgdesc="Unigine Benchmark" +arch=('i686' 'x86_64') +url="http://www.unigine.com" +license=('custom:UNIGINE Engine') +depends=('libgl' 'gcc-libs' 'libxrandr' 'libxinerama' 'fontconfig') +optdepends=('openal: sound support') +source=("http://uk1-dl.techpowerup.com/Benchmarking/"${_pkgname}"-"${pkgver}".run") +sha512sums=('3db8ae47c0f03bbd01c64e64021c83919a5b6b3f546aa426fe196021ae9e4cbcc44ead5b6a0315b6dd6817352ecb55a0b4a0758966198b12b6418b211551c902') + +[ "${CARCH}" = "i686" ] && _arch=x86 +[ "${CARCH}" = "x86_64" ] && _arch=x64 + +build() { + sh "${_pkgname}"-"${pkgver}".run --target "${pkgname}" --noexec +} +package() { + cd "${srcdir}"/"${pkgname}" + install -d "${pkgdir}"/opt/"${pkgname}"/bin/ + install -m775 bin/*_"${_arch}"* "${pkgdir}"/opt/"${pkgname}"/bin/ + cp -R data "${pkgdir}"/opt/"${pkgname}"/ + install -Dm755 heaven "${pkgdir}"/usr/bin/"${pkgname}" + sed -e "s|cd ./bin|cd /opt/"${pkgname}"/bin|" -e "s|./launcher_x86|./launcher_"${_arch}"|g" -i "${pkgdir}"/usr/bin/"${pkgname}" + install -d "${pkgdir}"/usr/share/licenses/"${pkgname}" + echo "Go to http://www.unigine.com" > "${pkgdir}"/usr/share/licenses/"${pkgname}"/license + install -Dm644 documentation/User_Manual.pdf "${pkgdir}"/usr/share/doc/"${pkgname}"/User_Manual.pdf +} |