diff options
author | ajs124 | 2015-06-09 21:08:23 +0200 |
---|---|---|
committer | ajs124 | 2015-06-09 21:08:23 +0200 |
commit | ce4d53e9d53d7e57b147b9bdb120c0a2b3e3d146 (patch) | |
tree | b9519992ab05eed27fbab89bcf5ff077d2e48157 | |
download | aur-ce4d53e9d53d7e57b147b9bdb120c0a2b3e3d146.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 19 | ||||
-rw-r--r-- | PKGBUILD | 34 |
2 files changed, 53 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..1bcbc41c53ea --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,19 @@ +pkgbase = unigine-valley + pkgdesc = Latest Interactive Unigine Benchmark + pkgver = 1.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_Valley-1.0.run + sha512sums = 5778fde3c122528fba8e79088b9ccca672afb953f3996bb6d1e9a20e6b7a50934a088daf705711bd04bdcc11d50e09815e6fa4ad6b798efd382b957ae8723977 + +pkgname = unigine-valley + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..46ab02b1baf3 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,34 @@ +# Maintainer: ajs124 < aur AT ajs124 DOT de > +# Contributer: meyithi <mail at meyithi dot com> + +pkgname=unigine-valley +_pkgname=Unigine_Valley +pkgver=1.0 +pkgrel=1 +pkgdesc="Latest Interactive 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=('5778fde3c122528fba8e79088b9ccca672afb953f3996bb6d1e9a20e6b7a50934a088daf705711bd04bdcc11d50e09815e6fa4ad6b798efd382b957ae8723977') + +[ "${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 valley "${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 +} |