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
}
