~sircmpwn/alpine-aports (mirror)

testing/himitsu-firefox: new aport v3 PROPOSED

Drew DeVault: 1
 testing/himitsu-firefox: new aport

 2 files changed, 37 insertions(+), 0 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~sircmpwn/alpine-aports/patches/33119/mbox | git am -3
Learn more about email & git

[PATCH v3] testing/himitsu-firefox: new aport Export this patch

---
Adds the "zip" dependency.

 testing/himitsu-firefox/APKBUILD              | 27 +++++++++++++++++++
 .../himitsu-firefox.post-install              | 10 +++++++
 2 files changed, 37 insertions(+)
 create mode 100644 testing/himitsu-firefox/APKBUILD
 create mode 100755 testing/himitsu-firefox/himitsu-firefox.post-install

diff --git a/testing/himitsu-firefox/APKBUILD b/testing/himitsu-firefox/APKBUILD
new file mode 100644
index 0000000000..b77d8e2138
--- /dev/null
+++ b/testing/himitsu-firefox/APKBUILD
@@ -0,0 +1,27 @@
# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=himitsu-firefox
pkgver="0.3"
pkgrel=0
pkgdesc="Firefox integration for Himitsu"
url="https://himitsustore.org"
arch="x86_64 aarch64" # Hare
license="GPL-3.0-only"
makedepends="hare himitsu-dev zip"
source="
	$pkgname-$pkgver.tar.gz::https://git.sr.ht/~sircmpwn/himitsu-firefox/archive/$pkgver.tar.gz
"
install="$pkgname.post-install"
builddir="$srcdir/$pkgname-$pkgver"
options="!check"

build() {
	make -j1 PREFIX=/usr
}

package() {
	make DESTDIR="$pkgdir" PREFIX=/usr install-native
}

sha512sums="
35c9a53da2b91b2539c52c0f4cce2b13800f7e55ea762041ddb1118c5db299196dbebff6579613f83e28cabaf6f398fca5af0bc32a325e40b7f0d1a6bb88213d  himitsu-firefox-0.3.tar.gz
"
diff --git a/testing/himitsu-firefox/himitsu-firefox.post-install b/testing/himitsu-firefox/himitsu-firefox.post-install
new file mode 100755
index 0000000000..4551492454
--- /dev/null
+++ b/testing/himitsu-firefox/himitsu-firefox.post-install
@@ -0,0 +1,10 @@
#!/bin/sh
cat >&2 <<EOF
*
* The himitsu-firefox package only includes the native messaging support for
* the corresponding Firefox add-on. You must install the Firefox add-on
* manually to actually use it:
* 
* https://addons.mozilla.org/en-US/firefox/addon/himitsu-integration/
*
EOF

base-commit: 8c7ba93f62699b9ea4d2ec52288b92da55dc9c1c
-- 
2.36.1