summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e8ed00c5c47b40bb76a7acccbf09db5756ffb4c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#Maintainer: Julian Xhokaxhiu <info at julianxhokaxhiu dot com>

pkgname=getmu
pkgver=1.5.10
pkgrel=1
pkgdesc="A full-stack DevOps on AWS framework"
arch=('x86_64')
source_x86_64=("https://github.com/stelligent/mu/releases/download/v$pkgver/mu-linux-amd64")
url="https://github.com/stelligent/mu"
license=("MIT")
sha256sums_x86_64=("8d9f97c0e15a876dda3e312bcb6a7fb13c56924ea0a8deb8c22019817bcefc21")

package() {
  _ARCH=""

  # Update the architecture name based on the current one running this PKGBUILD
  if [ "$CARCH" == "x86_64" ]; then
    _ARCH="amd64"
  fi

  cd "$srcdir"
  chmod +x "mu-linux-$_ARCH"
  install -Dm755 "mu-linux-$_ARCH" "$pkgdir/usr/bin/mu"
}