diff options
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | PKGBUILD | 29 |
2 files changed, 43 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..8bd8faa343c0 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,14 @@ +pkgbase = rocm-clang-ocl + pkgdesc = OpenCL compilation with clang compiler. + pkgver = 0.4.0 + pkgrel = 1 + url = https://github.com/RadeonOpenCompute/ROCm + arch = x86_64 + license = EULA + provides = rocm-clang-ocl + conflicts = rocm-clang-ocl + source = http://repo.radeon.com/rocm/apt/debian/pool/main/r/rocm-clang-ocl/rocm-clang-ocl_0.4.0-7ce124f_amd64.deb + sha256sums = 948ec2045681160de795570ee476049d53565821e0ffe245ac2e52e0d21a5b6a + +pkgname = rocm-clang-ocl + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..206e1cec3c24 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,29 @@ +# Maintainer: Lucas Magalhães <whoisroot@national.shitposting.agency> +pkgname=rocm-clang-ocl +pkgver=0.4.0 +_buildrel=7ce124f +pkgrel=1 +_debfile=rocm-clang-ocl_${pkgver}-${_buildrel}_amd64.deb +pkgdesc="OpenCL compilation with clang compiler." +arch=('x86_64') +url="https://github.com/RadeonOpenCompute/ROCm" +license=('EULA') +groups=() +depends=() +makedepends=() +provides=("${pkgname%-git}") +conflicts=("${pkgname%-git}") +replaces=() +backup=() +options=() +source=("http://repo.radeon.com/rocm/apt/debian/pool/main/r/rocm-clang-ocl/${_debfile}") +sha256sums=('948ec2045681160de795570ee476049d53565821e0ffe245ac2e52e0d21a5b6a') + +package() { + cd "$srcdir" + tar xf data.tar.gz + + mkdir -p ${pkgdir}/opt/rocm/bin + + cp -ax opt/rocm/bin/* ${pkgdir}/opt/rocm/bin +} |