From 5b8eb64831bdf1f6a5226a813dcc23f3b1c58e38 Mon Sep 17 00:00:00 2001 From: Felecarp Date: Tue, 6 Sep 2022 17:38:28 +0200 Subject: [PATCH] New package: offpunk-1.5 --- srcpkgs/offpunk-full | 1 + srcpkgs/offpunk-web | 1 + srcpkgs/offpunk/template | 31 +++++++++++++++++++++++++++++++ 3 files changed, 33 insertions(+) create mode 120000 srcpkgs/offpunk-full create mode 120000 srcpkgs/offpunk-web create mode 100644 srcpkgs/offpunk/template diff --git a/srcpkgs/offpunk-full b/srcpkgs/offpunk-full new file mode 120000 index 000000000000..53a047af6c36 --- /dev/null +++ b/srcpkgs/offpunk-full @@ -0,0 +1 @@ +offpunk \ No newline at end of file diff --git a/srcpkgs/offpunk-web b/srcpkgs/offpunk-web new file mode 120000 index 000000000000..53a047af6c36 --- /dev/null +++ b/srcpkgs/offpunk-web @@ -0,0 +1 @@ +offpunk \ No newline at end of file diff --git a/srcpkgs/offpunk/template b/srcpkgs/offpunk/template new file mode 100644 index 000000000000..1be053b05d0a --- /dev/null +++ b/srcpkgs/offpunk/template @@ -0,0 +1,31 @@ +# Template file for 'offpunk' +pkgname=offpunk +version=1.5 +revision=1 +wrksrc=${pkgname} +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="less file xdg-utils python3-cryptography" +short_desc="Command line gemini client" +maintainer="Felecarp " +license="BSD-2-Clause" +homepage="https://notabug.org/ploum/offpunk" +distfiles="${homepage}/archive/v${version}.tar.gz" +checksum=2d775af28397c6987d5c84b2f529b69f3c332dc46f2f4992620d86d80377392b + +offpunk-web_package() { + short_desc+ " - web browsing enabled" + build_style=meta + depends="offpunk python3-requests python3-readability-lxml python3-feedparser chafa timg" +} + +offpunk-full_package() { + short_desc+=" - all optional dependencies included" + build_style=meta + depends="offpunk-web xsel python3-setproctitle" +} + +do_install() { + python3 setup.py install --prefix=/usr --root=${DESTDIR} ${make_install_args} + vlicense LICENSE +}