app-misc/wcd: add 6.0.6

Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
This commit is contained in:
Arthur Zamarin
2025-11-30 19:18:53 +02:00
parent 34e2f99877
commit f31aa4bceb
2 changed files with 50 additions and 0 deletions

View File

@@ -1,2 +1,3 @@
DIST wcd-6.0.4.tar.gz 935815 BLAKE2B 00ec281890fe363258e0c847460ad9067f1c14409e64dfde239340ecf4f711af2047a8a1da226d4d17797e2b7452a4cd5aa65a0fcedcc2c172378d35a18a4a20 SHA512 afec27c0ca4cf7c7d24399f1f23c69ee765d57b449179696be5da82bcd6b146156254d9d1264e9c1f4905d5c117c7ac935a372aea25fa539b76c9bc866640daa
DIST wcd-6.0.5.tar.gz 1130436 BLAKE2B 65ba203f42ada8657ca11ec15a3a76d31523b0dc388415fbbc58e710e2ffec5b96f85d962ddcdb07b7749395223c64e367402106aa7d5a8910f63d09ffac004c SHA512 ac3fc0690e2011ab3a6863f075859a53887a7826b456f35b13421f8c3ed23e0a4665d9641163a2142ffae18b26379b2dbefab75a124c556bd0103522aaeb3d13
DIST wcd-6.0.6.tar.gz 1182775 BLAKE2B e309bb3c195e7a3b854987e044481347783f207e8aa5a11ce2219ba6ce3cfd6d4871042ee50d6711bee66cc567ca932095b8a16830cd0aa1efa90f4e978948b5 SHA512 1fe3b91e31336327a98c00196f66f6f1ff44c57430e716e099cb3cb0fa31cd1c93917535723116343161f5b4ff891fb8d2f9c23a29cdcb4d5d5e8cf880a3dc73

View File

@@ -0,0 +1,49 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit toolchain-funcs
DESCRIPTION="Wherever Change Directory"
HOMEPAGE="https://waterlan.home.xs4all.nl/wcd.html"
SRC_URI="https://waterlan.home.xs4all.nl/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux"
IUSE="nls unicode"
RDEPEND="
sys-libs/ncurses:=[unicode(+)?]
unicode? ( dev-libs/libunistring:= )"
DEPEND="${RDEPEND}"
BDEPEND="
app-text/ghostscript-gpl
virtual/pkgconfig
"
PATCHES=(
"${FILESDIR}"/${PN}-6.0.4-gentoo.patch
"${FILESDIR}"/${PN}-6.0.3-doc-path.patch
)
src_prepare() {
default
tc-export CC PKG_CONFIG
}
src_compile() {
cd src || die
local mycompile="LFS=1"
use nls || mycompile+=" ENABLE_NLS="
use unicode || mycompile+=" UCS= UNINORM="
emake ${mycompile}
}
src_install() {
cd src || die
local DOCS=( ../README.txt )
default
emake DESTDIR="${ED}" DOTWCD=1 install-profile sysconfdir="/etc"
}