[arch-commits] Commit in intel-oneapi-openmp/repos (2 files)

Konstantin Gizdov kgizdov at gemini.archlinux.org
Sun Jul 24 13:02:28 UTC 2022


    Date: Sunday, July 24, 2022 @ 13:02:28
  Author: kgizdov
Revision: 1255902

archrelease: copy trunk to community-x86_64

Added:
  intel-oneapi-openmp/repos/community-x86_64/
  intel-oneapi-openmp/repos/community-x86_64/PKGBUILD
    (from rev 1255901, intel-oneapi-openmp/trunk/PKGBUILD)

----------+
 PKGBUILD |   41 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 41 insertions(+)

Copied: intel-oneapi-openmp/repos/community-x86_64/PKGBUILD (from rev 1255901, intel-oneapi-openmp/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2022-07-24 13:02:28 UTC (rev 1255902)
@@ -0,0 +1,41 @@
+# Maintainer: Konstantin Gizdov <arch at kge dot pw>
+
+pkgname='intel-oneapi-openmp'
+pkgver='2022.1.0'
+_debpkgrel='3768'
+pkgrel=1
+pkgdesc="Intel oneAPI OpenMP runtime library"
+arch=('x86_64')
+url='https://software.intel.com/content/www/us/en/develop/tools/oneapi.html'
+license=("custom")
+source=("${pkgname}-${pkgver}-${_debpkgrel}_amd64.deb::https://apt.repos.intel.com/oneapi/pool/main/${pkgname}-${pkgver}-${pkgver}-${_debpkgrel}_amd64.deb"
+        "https://apt.repos.intel.com/oneapi/pool/main/${pkgname}-common-${pkgver}-${pkgver}-${_debpkgrel}_all.deb")
+b2sums=('4bc045f0d1288f19c76ddc985673661335d9e72be5aee4de0d79241d32db8c7889a097aa33f0a613f774e37b04b0b0d916fd0789efca04e41521f935c3b71e9b'
+        '2540d20e5da610f4cfea0632920c81e270704a316af5831e13c17bc31aab8687ed35708c7342270a76a0b456070323ad054f989e78968f5460166b23fed46cbc')
+depends=('intel-oneapi-common' 'intel-oneapi-condaindex')
+noextract=(
+	"${pkgname}-${pkgver}-${_debpkgrel}_amd64.deb"
+	"${pkgname}-common-${pkgver}-${pkgver}-${_debpkgrel}_all.deb"
+)
+build() {
+    cd "${srcdir}"
+    mkdir openmp common package
+
+    cd "${srcdir}"/openmp
+	ar x "${srcdir}/${pkgname}-${pkgver}-${_debpkgrel}_amd64.deb"
+	tar xvf data.tar.xz -C "${srcdir}"/package
+
+    cd "${srcdir}"/common
+	ar x "${srcdir}/${pkgname}-common-${pkgver}-${pkgver}-${_debpkgrel}_all.deb"
+	tar xvf data.tar.xz -C "${srcdir}"/package
+
+    # drop conda binaries
+    rm -r "${srcdir}"/package/opt/intel/oneapi/conda_channel
+}
+
+package() {
+	mv "${srcdir}"/package/opt "${pkgdir}"
+    install -d "${pkgdir}"/usr/share/licenses/"${pkgname}"
+    ln -s /usr/share/licenses/intel-oneapi "${pkgdir}"/usr/share/licenses/"${pkgname}"/oneapi
+    ln -s /opt/intel/oneapi/compiler/"${pkgver}"/licensing/openmp "${pkgdir}"/usr/share/licenses/"${pkgname}"/openmp
+}



More information about the arch-commits mailing list