diff options
author | Alfred Wingate <parona@protonmail.com> | 2024-08-27 12:48:09 +0300 |
---|---|---|
committer | Arsen Arsenović <arsen@gentoo.org> | 2024-09-18 15:06:38 +0200 |
commit | a042780884d5b14c16990d4b4a9bf11be61acc55 (patch) | |
tree | f1790ecef61a21d0913b92a2804d91633eb3bc40 /dev-scheme | |
parent | dev-scheme/guile-zstd: switch to new guile mechanism (diff) | |
download | gentoo-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.ebuild | 34 |
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 +} |