From a05b4c461986c8a43916977cf50d8c57d7153005 Mon Sep 17 00:00:00 2001
From: mio <miyopan@e.email>
Date: Thu, 11 Aug 2022 01:47:12 +0000
Subject: [PATCH] testing/offpunk: new aport

https://notabug.org/ploum/offpunk
An offline-first browser for the small internet
---
 testing/offpunk/APKBUILD | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)
 create mode 100644 testing/offpunk/APKBUILD

diff --git a/testing/offpunk/APKBUILD b/testing/offpunk/APKBUILD
new file mode 100644
index 000000000000..c21697190edd
--- /dev/null
+++ b/testing/offpunk/APKBUILD
@@ -0,0 +1,29 @@
+# Contributor: mio <miyopan@e.email>
+# Maintainer: mio <miyopan@e.email>
+pkgname=offpunk
+pkgver=1.5
+pkgrel=0
+pkgdesc="An offline-first browser for the small internet"
+url="https://notabug.org/ploum/offpunk"
+license="BSD-2-Clause"
+arch="noarch !s390x !riscv64" # Missing libimagequant on 390x and riscv64
+# Mandatory/recommended deps: file less py3-cryptography xdg-utils
+depends="chafa file less libimagequant python3 py3-beautifulsoup4
+	py3-cryptography py3-feedparser py3-pillow py3-readability-lxml py3-requests
+	py3-setproctitle timg xdg-utils xsel"
+makedepends="py3-setuptools"
+source="offpunk-$pkgver.tar.gz::https://notabug.org/ploum/offpunk/archive/v$pkgver.tar.gz"
+options="!check" # No tests
+builddir="$srcdir"/offpunk
+
+build() {
+	python3 setup.py build
+}
+
+package() {
+	python3 setup.py install --root="$pkgdir"
+}
+
+sha512sums="
+e28ee7ef49a868b31702bdc7a573c183efcb0f42d3e22f22c32c3fbd37d9b45ccb59bad60dff1be213ac6e04a18e37ab89c5b1abbe4e2bcd75937cf6f4d02191  offpunk-1.5.tar.gz
+"
-- 
GitLab