commit: 787ae9ccee8c615055e9308f7aea78560b58293e
parent 3e28b39ac3456a0a2f3ccd9b1995a38d1bbc2e73
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Wed, 17 Apr 2024 22:46:38 +0200
x11-apps/xcursorgen-nox: drop 0.0.1, add 1.0.8
Diffstat:
3 files changed, 37 insertions(+), 15 deletions(-)
diff --git a/x11-apps/xcursorgen-nox/Manifest b/x11-apps/xcursorgen-nox/Manifest
@@ -1 +1,2 @@
-DIST xcursorgen-nox-0.0.1.tar.gz 12130 BLAKE2B 85aedf925f6de4f9cb9d316a2961d5345a87c04d1ce94a340c3932c3d35a45434f2ad9b914e21ead09eda7afba8b51958dd8981c2fc52ce1a2fa744f73028315 SHA512 8e23176cd32eca149bfc86fba6a8d698d1567e665b9f80b9ac4854d693ec594ea2f6167bc9e8402f8706bbce13e6267cd344a4e0981f2fe873839b244a00a412
+DIST xcursorgen-nox-1.0.8.tar.gz 12947 BLAKE2B a3851594c08de5b6c558122ccac256ce29fd8a58099eff8df3a1f052a7f99f8eac347babd581798613ee0a74892456e6cb263584a481abfb3d1026fc1d1fa0eb SHA512 9479d5ffc672ddd7f183c965d6ca8593266c12813b2e80b1a21d0f7613d325815abec8d4577f1370a888ca490fcc2444d3aaa423e82594c73da5b7da5afe8e45
+DIST xcursorgen-nox-1.0.8.tar.gz.sign 315 BLAKE2B a796f0fa7bb41438990729b570e5902949f26a075cdf8ffd93227333177384c2555092d7c108ef3b5d02080e3131b415c3dc31e89bd022fd38edc05698375834 SHA512 9e7400e2f4782cd70573d978ed3e2194af51f6471e04bace5b22ef4c9b32f32bc73ca003350730f7641848180e3e2e288b880e9d0049219d5c51421d5e7b6264
diff --git a/x11-apps/xcursorgen-nox/xcursorgen-nox-0.0.1.ebuild b/x11-apps/xcursorgen-nox/xcursorgen-nox-0.0.1.ebuild
@@ -1,14 +0,0 @@
-# Copyright 2023 Haelwenn (lanodan) Monnier <contact@hacktivis.me>
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DESCRIPTION="create an X cursor file from a collection of PNG images (no libX11)"
-HOMEPAGE="https://hacktivis.me/git/xcursorgen-nox/"
-SRC_URI="https://hacktivis.me/releases/xcursorgen-nox-0.0.1.tar.gz"
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64"
-
-RDEPEND="media-libs/libpng:="
-DEPEND="${RDEPEND}"
diff --git a/x11-apps/xcursorgen-nox/xcursorgen-nox-1.0.8.ebuild b/x11-apps/xcursorgen-nox/xcursorgen-nox-1.0.8.ebuild
@@ -0,0 +1,35 @@
+# Copyright 2023-2024 Haelwenn (lanodan) Monnier <contact@hacktivis.me>
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+VERIFY_SIG_METHOD=signify
+inherit verify-sig
+
+DESCRIPTION="create an X cursor file from a collection of PNG images (no libX11)"
+HOMEPAGE="https://hacktivis.me/git/xcursorgen-nox/"
+SRC_URI="
+ https://hacktivis.me/releases/${P}.tar.gz
+ verify-sig? ( https://hacktivis.me/releases/${P}.tar.gz.sign )
+"
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="media-libs/libpng:="
+DEPEND="${RDEPEND}"
+
+BDEPEND="verify-sig? ( sec-keys/signify-keys-lanodan:2024 )"
+
+VERIFY_SIG_OPENPGP_KEY_PATH="/usr/share/signify-keys/signify-keys-lanodan-2024.pub"
+
+src_unpack() {
+ if use verify-sig; then
+ # Too many levels of symbolic links
+ cd "${DISTDIR}" || die
+ cp ${A} "${WORKDIR}" || die
+ cd "${WORKDIR}" || die
+ verify-sig_verify_detached "${P}.tar.gz" "${P}.tar.gz.sign"
+ fi
+ default
+}