summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 11bead958d425d6a46ea6aedd77a66c1026a0b97 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Maintainer: Henry Jenkins <archlinux.org@henryjenkins.name>

pkgname=please-bin
pkgver=17.12.5
pkgrel=1
pkgdesc="A cross-language build system with an emphasis on high performance, extensibility and reproduceability"
arch=("x86_64")
url="https://please.build/"
license=("Apache")
source_x86_64=("https://github.com/thought-machine/please/releases/download/v${pkgver}/please_${pkgver}_linux_amd64.tar.gz")
sha256sums_x86_64=("2fadb69daa705934ff7c596627b53282422a96e56725fe6c377525d0859b57f5")

package() {
  install -d "${pkgdir}/opt/thought-machine"
  install -d "${pkgdir}/usr/bin"

  cp -r "${srcdir}/please" "${pkgdir}/opt/thought-machine"
  ln -s /opt/thought-machine/please/please "${pkgdir}/usr/bin/please"
  ln -s /opt/thought-machine/please/please "${pkgdir}/usr/bin/plz"
}