summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorava1ar2016-05-05 21:38:51 -0400
committerava1ar2016-05-05 21:38:51 -0400
commite774f5a2293a7eee1ff5761ae45d97e7ac9b2bf7 (patch)
treee6bb5db092dfdae209c72767c58cf711fc9f7de1
parent0f0a95baa299b68450886cb07f84b955330cd763 (diff)
downloadaur-e774f5a2293a7eee1ff5761ae45d97e7ac9b2bf7.tar.gz
PKGBUILD improvements
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD9
-rw-r--r--intel-opencl-runtime.install11
3 files changed, 5 insertions, 21 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 846118795ed..bbceaf0d09f 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,15 +1,13 @@
# Generated by mksrcinfo v8
-# Sat Apr 23 00:18:09 UTC 2016
+# Fri May 6 01:38:39 UTC 2016
pkgbase = intel-opencl-runtime
pkgdesc = OpenCL runtime for Intel Core and Xeon processors
pkgver = 16.1
- pkgrel = 1
+ pkgrel = 2
epoch = 1
url = https://software.intel.com/en-us/articles/opencl-drivers
- install = intel-opencl-runtime.install
arch = x86_64
license = custom:intel
- makedepends = rpmextract
depends = numactl
depends = intel-tbb
depends = zlib
diff --git a/PKGBUILD b/PKGBUILD
index e38d65396f7..2c3220307b6 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,28 +6,26 @@
pkgname=intel-opencl-runtime
epoch=1
pkgver=16.1
-pkgrel=1
+pkgrel=2
pkgdesc="OpenCL runtime for Intel Core and Xeon processors"
arch=('x86_64')
url="https://software.intel.com/en-us/articles/opencl-drivers"
license=('custom:intel')
depends=('numactl' 'intel-tbb' 'zlib')
-makedepends=('rpmextract')
optdepends=('intel-opencl-sdk: Intel SDK for OpenCL Applications')
provides=('opencl')
-install='intel-opencl-runtime.install'
source=(http://registrationcenter-download.intel.com/akdlm/irc_nas/9019/opencl_runtime_${pkgver}_x64_rh_5.2.0.10002.tgz)
sha256sums=('b39bb90f35640cd8d3fd6fc173cf24d969b81da4554a32484c9b2520a8c010c6')
package() {
- cd "${srcdir}"/opencl_runtime_*/
+ cd "${srcdir}"/opencl_runtime_${pkgver}_x64_rh_5.2.0.10002/
# Copy license
install -Dm644 EULA.txt "${pkgdir}"/usr/share/licenses/intel-opencl-runtime/license
# Unpack RPM
rm rpm/opencl-1.2-base-pset-*.rpm
- for i in rpm/*.rpm; do rpmextract.sh "$i"; done
+ for i in rpm/*.rpm; do bsdtar -xf "$i"; done
# Register ICD
mkdir -p "${pkgdir}/etc/OpenCL/vendors"
@@ -36,5 +34,4 @@ package() {
# Install files
mkdir -p "${pkgdir}/opt/intel/opencl-runtime"
cp -r opt/intel/opencl-*/* "${pkgdir}/opt/intel/opencl-runtime"
-
}
diff --git a/intel-opencl-runtime.install b/intel-opencl-runtime.install
deleted file mode 100644
index 93d64881ba8..00000000000
--- a/intel-opencl-runtime.install
+++ /dev/null
@@ -1,11 +0,0 @@
-post_install() {
- ldconfig
-}
-
-post_upgrade() {
- ldconfig
-}
-
-post_remove() {
- ldconfig
-}