summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a002dd89cdc746d8a85238acc72da040da94120c (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
25
26
27
28
29
30
# Maintainer: Slava Ganzin <slava.ganzin@gmail.com>

pkgname=await
pkgver=0.999
pkgrel=1
pkgdesc="28kb small memory footprint single binary that run list of commands in parallel and waits for their termination"
arch=('aarch64' 'armv6h' 'armv7h' 'i686' 'x86_64')
makedepends=('git' 'gcc' 'make')
url="https://await-cli.app/"
license=('MIT')
source=(git+https://github.com/slavaGanzin/await)
sha256sums=('SKIP')
provides=('await')
conflicts=('await')

build() {
  cd ${pkgname%-git}
  ./build
}

package() {
  cd ${pkgname%-git}

  msg2 'Installing executables...'
  install -Dm 755 await -t "$pkgdir"/usr/bin

  msg2 'Cleaning up pkgdir...'
  find "$pkgdir" -type d -name .git -exec rm -r '{}' +
}