summaryrefslogtreecommitdiff
path: root/test/fixtures/librechroot/PKGBUILD-arches
blob: 44589a57a27d3e78e99f8e6b658e592da9e2b7f0 (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
}