dev-libs/libtompoly: a few QA fixes
authorAaron Bauman <bman@gentoo.org>
Fri, 29 Nov 2019 22:11:48 +0000 (17:11 -0500)
committerAaron Bauman <bman@gentoo.org>
Fri, 29 Nov 2019 22:11:48 +0000 (17:11 -0500)
* Use HTTPS
* break docinto/dodoc calls into separate lines
* add proper die message

Signed-off-by: Aaron Bauman <bman@gentoo.org>
dev-libs/libtompoly/libtompoly-0.04-r1.ebuild

index ad8ee80f189c4a643147faeaae7c4eb83ebee379..5a642fccaed5e46762212ca2db9faa14ebf5ce86 100644 (file)
@@ -6,7 +6,7 @@ EAPI=7
 inherit toolchain-funcs
 
 DESCRIPTION="portable ISO C library for polynomial basis arithmetic"
-HOMEPAGE="http://www.libtom.net/"
+HOMEPAGE="https://www.libtom.net/"
 SRC_URI="https://github.com/libtom/libtompoly/releases/download/${PV}/ltp-${PV}.tar.bz2"
 
 LICENSE="WTFPL-2"
@@ -21,12 +21,13 @@ src_prepare() {
        sed -i \
                -e 's:\<ar\>:$(AR):' \
                -e "/^LIBPATH/s:/lib:/$(get_libdir):" \
-               makefile || die
+               makefile || die "Fixing makefile failed"
        tc-export AR CC
 }
 
 src_install() {
        default
        dodoc changes.txt pb.pdf
-       docinto demo ; dodoc demo/demo.c
+       docinto demo
+       dodoc demo/demo.c
 }