diff options
author | Thiago Perrotta <tbperrotta@gmail.com> | 2021-12-26 13:43:25 -0500 |
---|---|---|
committer | Kevin Daudt <kdaudt@alpinelinux.org> | 2022-01-12 05:54:26 +0000 |
commit | a0b12fb1273587d830c65f315604b048cd2541ce (patch) | |
tree | a8e7a6e9e0bed621dca33c75dba9a6ac01773f51 | |
parent | 3dbd77b70a7712f53d1d9dfc5f95267d21c6ae79 (diff) | |
download | aports-patches/3799.tar.gz aports-patches/3799.tar.bz2 aports-patches/3799.tar.xz |
testing/fpp: new aportpatches/3799
https://facebook.github.io/PathPicker
TUI that lets you pick paths out of its stdin and run arbitrary commands on them
Signed-off-by: Thiago Perrotta <tbperrotta@gmail.com>
-rw-r--r-- | testing/fpp/APKBUILD | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/testing/fpp/APKBUILD b/testing/fpp/APKBUILD new file mode 100644 index 0000000000..0c312059d0 --- /dev/null +++ b/testing/fpp/APKBUILD @@ -0,0 +1,41 @@ +# Contributor: Thiago Perrotta <tbperrotta@gmail.com> +# Maintainer: Thiago Perrotta <tbperrotta@gmail.com> +pkgname=fpp +pkgver=0.9.2 +pkgrel=0 +pkgdesc="TUI that lets you pick paths out of its stdin and run arbitrary commands on them" +url="https://facebook.github.io/PathPicker" +arch="noarch" +license="MIT" +depends="bash python3" +subpackages="$pkgname-doc" +source="$pkgname-$pkgver.tar.gz::https://github.com/facebook/PathPicker/archive/$pkgver.tar.gz" +builddir="$srcdir/PathPicker-$pkgver" + +check() { + fpp --version +} + +prepare() { + default_prepare + + rm -r "src/__tests__" +} + +package() { + # library + install -Dm755 "fpp" -t "$pkgdir/usr/share/fpp" + cp -a src "$pkgdir/usr/share/fpp" + + # entrypoint + install -dm755 "$pkgdir/usr/bin" + ln -s "/usr/share/fpp/fpp" "$pkgdir/usr/bin" + + # documentation + install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname" + install -Dm644 "debian/usr/share/man/man1/fpp.1" -t "$pkgdir/usr/share/man/man1" +} + +sha512sums=" +65b6b077f437bd642ebf94c55be901aabc73f7b9c89e4522c4f51970c4d63d744ad8fa29cac06816851f63bcb81d0480e61d405231c582e9aca0f4e650949a97 fpp-0.9.2.tar.gz +" |