summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfred Wingate <parona@protonmail.com>2024-08-27 12:48:09 +0300
committerArsen Arsenović <arsen@gentoo.org>2024-09-18 15:06:38 +0200
commita042780884d5b14c16990d4b4a9bf11be61acc55 (patch)
treef1790ecef61a21d0913b92a2804d91633eb3bc40 /dev-scheme
parentdev-scheme/guile-zstd: switch to new guile mechanism (diff)
downloadgentoo-a042780884d5b14c16990d4b4a9bf11be61acc55.tar.gz
gentoo-a042780884d5b14c16990d4b4a9bf11be61acc55.tar.bz2
gentoo-a042780884d5b14c16990d4b4a9bf11be61acc55.zip
dev-scheme/xdgdirs: switch to new guile mechanism
Signed-off-by: Alfred Wingate <parona@protonmail.com> Signed-off-by: Arsen Arsenović <arsen@gentoo.org>
Diffstat (limited to 'dev-scheme')
-rw-r--r--dev-scheme/xdgdirs/xdgdirs-2.2-r100.ebuild34
1 files changed, 34 insertions, 0 deletions
diff --git a/dev-scheme/xdgdirs/xdgdirs-2.2-r100.ebuild b/dev-scheme/xdgdirs/xdgdirs-2.2-r100.ebuild
new file mode 100644
index 000000000000..0dc3e304acd4
--- /dev/null
+++ b/dev-scheme/xdgdirs/xdgdirs-2.2-r100.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+GUILE_COMPAT=( 2-2 3-0 )
+inherit guile-single
+
+DESCRIPTION="Displays names/values of XDG Basedir variables"
+HOMEPAGE="https://www.gnuvola.org/software/xdgdirs/"
+SRC_URI="https://www.gnuvola.org/software/xdgdirs/${P}.tar.xz"
+
+LICENSE="GPL-3+ FDL-1.3"
+SLOT="0"
+KEYWORDS="~amd64 ~hppa ~x86"
+
+REQUIRED_USE="${GUILE_REQUIRED_USE}"
+
+RDEPEND="${GUILE_DEPS}"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+ guile-single_src_prepare
+
+ # fix shebang
+ sed -i -e "/exec/ s|guile|${GUILE}|" xdgdirs.in || die
+}
+
+src_test() {
+ # breaks diffs for tests if not disabled
+ local -x GUILE_AUTO_COMPILE=0
+
+ emake check
+}