summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 560c4b85d907d8cc465d9a13526323b54bb56714 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Maintainer: jbpratt <jbpratt78 at gmail dot com>

pkgname=crc-bin
pkgver=1.38.0
pkgrel=1
pkgdesc="Red Hat CodeReady Containers is a tool that manages a local OpenShift 4.x cluster optimized for testing and development purposes"
url=https://github.com/code-ready/crc
arch=("x86_64")
provides=("crc")
depends=("libvirt" "networkmanager")
license=("APACHE")
options=(!strip)

source_x86_64=("https://developers.redhat.com/content-gateway/file/pub/openshift-v4/clients/crc/${pkgver}/crc-linux-amd64.tar.xz")
sha256sums_x86_64=("21d87bdafb98ab748f11e567688468130f97fd2b29128e30fd704ecc908a27d6")

package() {
  cd "${srcdir}/${pkgname%-*}-linux-${pkgver}-amd64"
  install -Dm755 crc "${pkgdir}/usr/bin/crc"
  install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname%-*}/LICENSE"
}