summaryrefslogtreecommitdiff
path: root/test/libremakepkg.d/PKGBUILD-hello
blob: 5f320fe3c7ad40cc7e1ab1958492c144b7e960ad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
pkgname='libretools-hello'
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
}

package() {
	cd "$srcdir"
	install -Dm755 hello.sh "$pkgdir"/usr/bin/libretools-hello
}