pkgname='libretools-distcc' pkgver=1.0 license=('GPL') url='https://parabola.nu' pkgrel=1 arch=(any) depends=(sh) build() { cd "$srcdir" echo '#!/bin/sh' > hello.sh echo 'echo Hello, world!' >> hello.sh # I don't like hard-coding in an implementation detail, but # this is the simplest way to verify that `distcc-tool # odaemon` started correctly. [[ -S /socket ]] } package() { cd "$srcdir" install -Dm755 hello.sh "$pkgdir"/usr/bin/libretools-hello }