[aur-general] intel-opencl-sdk updated to 2020, probably poorly

Eli Schwartz eschwartz at archlinux.org
Tue May 5 20:44:41 UTC 2020


On 5/5/20 1:46 PM, Nick Black via aur-general wrote:
> Late last night, I put together an update to intel-opencl-sdk,
> updating it from the 2017 edition to 2020. This was by far the
> most difficult PKGBUILD I've ever done, and I suspect it is less
> than optimal in one or more ways.
> 
> If anyone feels competent to take a look at the packaging or
> (more importantly IMHO) the installed result, please do so.
> 
>   https://aur.archlinux.org/packages/intel-opencl-sdk/
> 
> I intend to get to intel-opencl-runtime, helpfully flagged as
> out-of-date last week, today or tomorrow.


Don't write to "${pkgdir}" in your build() function.

Instead, instruct the software to install to

"${srcdir}/temp_install"

and then in package() you may 'mv' this to "${pkgdir}".

-- 
Eli Schwartz
Bug Wrangler and Trusted User

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 1601 bytes
Desc: OpenPGP digital signature
URL: <https://lists.archlinux.org/pipermail/aur-general/attachments/20200505/9b2ccb2c/attachment.sig>


More information about the aur-general mailing list