summaryrefslogtreecommitdiff
path: root/test/fixtures/libremakepkg/PKGBUILD-distcc
blob: 5127ae6ff804af012df978bc88e5148b8f4fd84f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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
}