diff options
author | Daniel Bermond | 2022-05-30 17:58:02 -0300 |
---|---|---|
committer | Daniel Bermond | 2022-05-30 17:58:02 -0300 |
commit | 6ee0a52362ee9a3eb658e40e552ebde818633496 (patch) | |
tree | ca144be9c15c4965a60da4aef46dc7841842b130 | |
parent | 22db532387c0736e87e4701cbc862a2bfc3c0bdf (diff) | |
download | aur-6ee0a52362ee9a3eb658e40e552ebde818633496.tar.gz |
Rename all binary files to a non-generic name
Some renames were missing.
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 14 |
2 files changed, 11 insertions, 5 deletions
@@ -1,7 +1,7 @@ pkgbase = onevpl-git pkgdesc = oneAPI Video Processing Library (git version) pkgver = 2022.1.4.r0.g8f6d55d - pkgrel = 1 + pkgrel = 2 url = https://software.intel.com/content/www/us/en/develop/tools/oneapi/components/onevpl.html arch = x86_64 license = MIT @@ -2,7 +2,7 @@ pkgname=onevpl-git pkgver=2022.1.4.r0.g8f6d55d -pkgrel=1 +pkgrel=2 pkgdesc='oneAPI Video Processing Library (git version)' arch=('x86_64') url='https://software.intel.com/content/www/us/en/develop/tools/oneapi/components/onevpl.html' @@ -41,7 +41,13 @@ package() { local _pyver _pyver="$(python -c 'import sys; print(".".join(map(str, sys.version_info[:2])))')" mv "${pkgdir}/usr/lib/python"{,"$_pyver"} - mv "${pkgdir}/usr/bin"/{,vpl-}sample_decode - mv "${pkgdir}/usr/bin"/{,vpl-}sample_encode - mv "${pkgdir}/usr/bin"/{,vpl-}sample_multi_transcode + + local _file + while read -r -d '' _file + do + if ! grep -q '^vpl\-' <<< "$_file" + then + mv "${pkgdir}/usr/bin"/{,vpl-}"$_file" + fi + done < <(find "${pkgdir}/usr/bin" -mindepth 1 -maxdepth 1 -type f -print0 | sed -z 's|.*/||') } |