1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
pkgname='libretools-testpkg2' pkgver=1.0 license=('GPL') url='https://parabola.nu' pkgrel=1 arch=(any) depends=(sh libretools-testpkg1) build() { cd "$srcdir" echo '#!/bin/sh' > testpkg2.sh echo 'libretools-testpkg1' >> testpkg2.sh } package() { cd "$srcdir" install -Dm755 testpkg2.sh "$pkgdir"/usr/bin/libretools-testpkg2 }