Received: from mail-il1-f175.google.com (mail-il1-f175.google.com [209.85.166.175]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id A38CF781047 for ; Sun, 26 Dec 2021 18:43:38 +0000 (UTC) Received: by mail-il1-f175.google.com with SMTP id d3so3128747ilr.10 for ; Sun, 26 Dec 2021 10:43:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=hQjbK8+oZrezQlZzLY+HKziBuogDN7uqBQE2YiTqjKQ=; b=FEbZOAAEP9+9HqIviXQn3yQs6rUE0UcdePM7a24gj4Dnt9gVrNVvZY3s5bA2e5O6IL +uKuS9+BMhf8zG/viQwvRvQp7yLOO4VnOB45u67EQLykN8pIrLAopZnXwcvstAxAh0oh FIiScHDVlGQ9zpHxMsrnDrVkzaBXcq45MaGSBFkw/4uZfcMZ9unyRM0Q0vpVyDr+M9Bs cbPpeNZpo8yvvFLafIqCLW95xkxTlF5lz9AKVK8l9fHZN9sEHM9oP0HKRFrgUqZIQcnm 2BISW+gZ5SWTPcek9yBtd0fJCQGfs+Zr3uVBEOHSXMLfS2VRcoPoViwD2oEp1Gx6Dd37 Jcww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=hQjbK8+oZrezQlZzLY+HKziBuogDN7uqBQE2YiTqjKQ=; b=Jha+k51CySZpFZ7IsbdvUdKDf+IUmYOb21LhP/iilkYFzO1BYugBQLQRIw1H4id+Nl syn99+ov23O3WnmZfR5pmeXkGsS4GvYY57281Jxaz0lRVkj/eYO95YcaV2BFcrVaKnjZ TdT7X0lp+oXhDc+6UN0DViPEY7fkUF1ZCb4zmFB8C4rKv4pPCcwbnXwber1Ta7x7jUyE OcZW4/Pels8wfPtgWRxsX7YhSI/pECcEXiwjDopMeWQj8QI5tYOtvckyY+vVzyGl1VY8 96zyp86DTlUFmcfPIuSZu8aHRSJ6FycIw2BntZRn4Sk2EsFEX8WdEKrU/Yy+ul0BG3QO wS6g== X-Gm-Message-State: AOAM530j90qzMprk5n3KGrTkcGFlQ+hBq7ZLU5nqS6FfkJqMK66uSPS+ rM9pfUjASFnnE8wT7c1+ZJ6h0PXrseY2ew== X-Google-Smtp-Source: ABdhPJw9gv7uoicg7olyZnDd051XoxYux80Nu9exXmsjGB9lE4Wxiy8/MT/Gj2mLW+RPfaQ22IJ5bg== X-Received: by 2002:a92:c563:: with SMTP id b3mr6606923ilj.85.1640544217348; Sun, 26 Dec 2021 10:43:37 -0800 (PST) Received: from knol.members.linode.com ([2600:3c04::f03c:92ff:fe34:3b3a]) by smtp.gmail.com with ESMTPSA id v23sm8435963ioj.4.2021.12.26.10.43.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 26 Dec 2021 10:43:37 -0800 (PST) From: Thiago Perrotta To: alpine-aports@lists.alpinelinux.org Cc: Thiago Perrotta Subject: [PATCH v2] testing/fpp: new aport Date: Sun, 26 Dec 2021 13:43:25 -0500 Message-Id: <20211226184325.15145-1-tbperrotta@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20211225232954.2094-1-tbperrotta@gmail.com> References: <20211225232954.2094-1-tbperrotta@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 --- 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 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 +# Maintainer: Thiago Perrotta +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 +" -- 2.34.1