dev-libs/unibilium: add 2.1.2

Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
This commit is contained in:
Arthur Zamarin
2024-10-24 20:10:57 +03:00
parent 9e812cf7ac
commit f7e87e6b64
3 changed files with 53 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST unibilium-2.1.1.tar.gz 121998 BLAKE2B 0bd032d0cc32011fa66604b39412116824b79aeb3cebb394efcad7591d5bd18031d465f7736ff1e65914f2fcf7beca1cbee4c7ad07426cdbf45e1c82e1894d94 SHA512 ebcdcddc6c3a540d086b113bb83470c1c17cf59056b28308a484b20dc3df71de0f5d6e5bf105f9e4a8347c78500c65ae46c2b53ec87692a898c321a047664ee2
DIST unibilium-2.1.2.tar.gz 122525 BLAKE2B 4f61b1259fed11c94280499ea1f965c7a53b70072c66adbf42cd0adafb99f03e56f204b46235677a75c09f923b141897ba2942eb273e5b053beec9e8eb5bc3a6 SHA512 8bc50b3662fcb1b52055fed028926d8c296169b6b1cfefef9bb37a435321ee6e005c4166c1e68c2959e5f6d4ffe8f44d8ea87d6dcc967176d473ae918ff3018f

View File

@@ -0,0 +1,22 @@
--- a/Makefile.in
+++ b/Makefile.in
@@ -56,7 +56,7 @@ OBJECTS=unibilium.lo uninames.lo uniutil.lo
LIBRARY=libunibilium.la
PODS=$(wildcard doc/*.pod)
-MANPAGES=$(addprefix man/,$(notdir $(PODS:.pod=.3.gz)))
+MANPAGES=$(addprefix man/,$(notdir $(PODS:.pod=.3)))
TOOLS=$(wildcard tools/*.c)
@@ -121,8 +121,8 @@ install-man: build-man
.PHONY: build-man
build-man: $(MANPAGES)
-man/%.3.gz: doc/%.pod
- $(POD2MAN) $(POD2MAN_OPTS) $< | gzip > $@
+man/%.3: doc/%.pod
+ $(POD2MAN) $(POD2MAN_OPTS) $< > $@
# Regenerate static test files, based on existing terminfo entries.

View File

@@ -0,0 +1,30 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit autotools
DESCRIPTION="A very basic terminfo library"
HOMEPAGE="https://github.com/neovim/unibilium/"
SRC_URI="https://github.com/neovim/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="LGPL-3+ MIT"
SLOT="0/4"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86 ~x64-macos"
BDEPEND="dev-lang/perl"
PATCHES=(
"${FILESDIR}/${PN}-2.1.2-no-compress-man.patch"
)
src_prepare() {
default
eautoreconf
}
src_install() {
default
find "${D}" -name '*.la' -type f -delete || die
}