summaryrefslogtreecommitdiff
path: root/test/librechroot.d/PKGBUILD
blob: 6116ad967e68cbdef895036af4c2083d978f0bf1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
pkgname='libretools-hello'
pkgver=1.0
license=('GPL')
url='https://parabola.nu'

pkgrel=1
arch=(i686 x86_64)
depends=(sh)
depends_i686=('lsof')
depends_x86_64=('lsof')

build() {
	cd "$srcdir"
	echo '#!/bin/sh' > hello.sh
	echo 'echo Hello, world!' >> hello.sh
	echo 'lsof' >> hello.sh
}

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