summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorava1ar2016-05-05 21:42:04 -0400
committerava1ar2016-05-05 21:42:04 -0400
commit9472f4719c40ca2de191d037ecfb9d6fe8dbef16 (patch)
tree1b549b15d1316e967506817b451f7725b1d23a2e
parente774f5a2293a7eee1ff5761ae45d97e7ac9b2bf7 (diff)
downloadaur-9472f4719c40ca2de191d037ecfb9d6fe8dbef16.tar.gz
PKGBUILD improvements (2)
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD5
2 files changed, 4 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index bbceaf0d09f..4541a281ca3 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,5 +1,5 @@
# Generated by mksrcinfo v8
-# Fri May 6 01:38:39 UTC 2016
+# Fri May 6 01:41:49 UTC 2016
pkgbase = intel-opencl-runtime
pkgdesc = OpenCL runtime for Intel Core and Xeon processors
pkgver = 16.1
diff --git a/PKGBUILD b/PKGBUILD
index 2c3220307b6..cbd0eb7491a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,6 +6,7 @@
pkgname=intel-opencl-runtime
epoch=1
pkgver=16.1
+_package=opencl_runtime_${pkgver}_x64_rh_5.2.0.10002
pkgrel=2
pkgdesc="OpenCL runtime for Intel Core and Xeon processors"
arch=('x86_64')
@@ -14,11 +15,11 @@ license=('custom:intel')
depends=('numactl' 'intel-tbb' 'zlib')
optdepends=('intel-opencl-sdk: Intel SDK for OpenCL Applications')
provides=('opencl')
-source=(http://registrationcenter-download.intel.com/akdlm/irc_nas/9019/opencl_runtime_${pkgver}_x64_rh_5.2.0.10002.tgz)
+source=(http://registrationcenter-download.intel.com/akdlm/irc_nas/9019/${_package}.tgz)
sha256sums=('b39bb90f35640cd8d3fd6fc173cf24d969b81da4554a32484c9b2520a8c010c6')
package() {
- cd "${srcdir}"/opencl_runtime_${pkgver}_x64_rh_5.2.0.10002/
+ cd "${srcdir}"/${_package}/
# Copy license
install -Dm644 EULA.txt "${pkgdir}"/usr/share/licenses/intel-opencl-runtime/license