summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-11-15 15:34:08 +0000
committerSam James <sam@gentoo.org>2022-11-15 18:39:36 +0000
commite40ce4680c944be369160ca8bf57a0aae163e71a (patch)
tree69d72ba96a1ed3a8217a5cbb255111b0cc09b050 /app-text/libpaper
parentx11-wm/qtile: Remove old (diff)
downloadgentoo-e40ce4680c944be369160ca8bf57a0aae163e71a.tar.gz
gentoo-e40ce4680c944be369160ca8bf57a0aae163e71a.tar.bz2
gentoo-e40ce4680c944be369160ca8bf57a0aae163e71a.zip
app-text/libpaper: add 2.0.4
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-text/libpaper')
-rw-r--r--app-text/libpaper/Manifest1
-rw-r--r--app-text/libpaper/libpaper-2.0.4.ebuild29
2 files changed, 30 insertions, 0 deletions
diff --git a/app-text/libpaper/Manifest b/app-text/libpaper/Manifest
index e681dc87708b..fd67632fada4 100644
--- a/app-text/libpaper/Manifest
+++ b/app-text/libpaper/Manifest
@@ -1,2 +1,3 @@
DIST libpaper-2.0.3.tar.gz 1286822 BLAKE2B c3ac1628cb44155326626ddd5b7858a8192a4d23e888b152045001f3b8395ca46e0c82000838df13dd391dc187e10f82f843f75497dfb4c13e445f3587dea422 SHA512 c2af8f98a02b772ef3fb86b4f2bc50277f9fb720a070adc7a90da65881a5fc340b0841b198c50066001f4572123435305e0db4404365f9b9362d08280b7f6dd9
+DIST libpaper-2.0.4.tar.gz 1286975 BLAKE2B 2751422ca3176d1f47d98c74d948d986e6dcff15acbac126535f526312900650e25fa0a4d68ceebc5d718f5135be22a9f9407d690dc5d5e22eab9dc55b040fc8 SHA512 d603a807c8fdc57b704cdfdc90bedf05c54c8a7b67e8cf52f26298c22a6cee5291fcadc6e67d28b00cf9d68f4890a394e56c8e91f0b97c8edfac4662fe4dc8f0
DIST libpaper_1.1.28.tar.gz 42356 BLAKE2B 48c4a28c6ff01bd91e257b6b306e787e5c6112052cff09bdb501d1cc4ddd10964c3588942098a6092d5a44391dfb22e10d5147d4c5012497f473473129ff7422 SHA512 3bf6ebb0af89931d2f72ea4a09a7fa958b2facda5f238983ec7bac39652e08614b33f0de3af74a03457b2a4203eee4950bf18a4b726e79aa64093ace6a1fb0bc
diff --git a/app-text/libpaper/libpaper-2.0.4.ebuild b/app-text/libpaper/libpaper-2.0.4.ebuild
new file mode 100644
index 000000000000..dcf04a114100
--- /dev/null
+++ b/app-text/libpaper/libpaper-2.0.4.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="Library for handling paper characteristics"
+HOMEPAGE="https://github.com/rrthomas/libpaper"
+SRC_URI="https://github.com/rrthomas/libpaper/releases/download/v${PV}/${P}.tar.gz"
+
+# See README.
+# paperspecs is public-domain
+LICENSE="LGPL-2.1+ GPL-3+ public-domain"
+SLOT="0/$(ver_cut 1)"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+
+BDEPEND="sys-apps/help2man"
+
+# False positive (runs within a conditional)
+QA_AM_MAINTAINER_MODE=".*help2man.*"
+
+src_configure() {
+ econf --enable-relocatable
+}
+
+src_install() {
+ default
+
+ find "${ED}" -type f -name '*.la' -delete || die
+}