Subject: [PATCH] testing/fpp: new aport

From: Thiago Perrotta <[email-masked]>
Date: Sat, 11 Dec 2021 16:38:12 -0500

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 <[email-masked]>
---
 testing/fpp/APKBUILD | 38 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)
 create mode 100644 testing/fpp/APKBUILD

diff --git a/testing/fpp/APKBUILD b/testing/fpp/APKBUILD
new file mode 100644
index 0000000000..d1d5203461
--- /dev/null
+++ b/testing/fpp/APKBUILD
@@ -0,0 +1,38 @@
+# Contributor: Thiago Perrotta <[email-masked]>
+# Maintainer:
+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="python3"
+subpackages="$pkgname-doc"
+options="!check" # broken tests
+source="$pkgname-$pkgver.tar.gz::https://github.com/facebook/PathPicker/archive/$pkgver.tar.gz"
+builddir="$srcdir/PathPicker-$pkgver"
+
+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
+"
-- 
2.34.1

---

From: Thiago Perrotta <[email-masked]>
Date: Sat, 25 Dec 2021 18:29:54 -0500

Added Maintainer.

index 0000000000..699506b6f3
+# Maintainer: Thiago Perrotta <[email-masked]>

---

From: Thiago Perrotta <[email-masked]>
Date: Sun, 26 Dec 2021 13:43:25 -0500

Differences to V1:

- add maintainer
- add bash dependency
- add simple check()

 testing/fpp/APKBUILD | 41 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 41 insertions(+)
 create mode 100644 testing/fpp/APKBUILD

index 0000000000..0c312059d0
@@ -0,0 +1,41 @@
+depends="bash python3"
+check() {
+	fpp --version