summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorDarjan Krijan2020-12-21 20:26:36 +0100
committerGitHub2020-12-21 14:26:36 -0500
commita3ede0a5d9327c1266dd32e3dd9c56910d9bf666 (patch)
tree637afdbcf7091394f64524892334ab54a2443678 /PKGBUILD
parentab10ddf59ff2a2d1f0b6b00e9c8404a6317c0de2 (diff)
downloadaur-a3ede0a5d9327c1266dd32e3dd9c56910d9bf666.tar.gz
Add version files for rocm-dev, rocm-utils and rocm-libs (#558)
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD7
1 files changed, 6 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 92578ba6d2d..dfc3804b4d7 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: acxz <akashpatel2008 at yahoo dot com>
pkgname=rocm-dev
pkgver=4.0.0
-pkgrel=1
+pkgrel=2
pkgdesc="ROCm Dev - Metapackage for the ROCm Development Stack"
arch=('x86_64')
url="https://rocm-documentation.readthedocs.io/en/latest/"
@@ -14,3 +14,8 @@ depends=('comgr' 'hip-rocclr' 'hsa-amd-aqlprofile' 'hsakmt-roct' 'llvm-amdgpu'
makedepends=()
source=()
sha256sums=()
+
+package() {
+ mkdir -p "${pkgdir}/opt/rocm/.info"
+ echo "${pkgver}-${pkgrel}" > "${pkgdir}/opt/rocm/.info/version-dev"
+}