app-laptop/mbpfan: update the live ebuild
authorGöktürk Yüksek <gokturk@gentoo.org>
Fri, 1 Nov 2019 18:36:28 +0000 (14:36 -0400)
committerGöktürk Yüksek <gokturk@gentoo.org>
Fri, 1 Nov 2019 18:37:44 +0000 (14:37 -0400)
Package-Manager: Portage-2.3.78, Repoman-2.3.17
Signed-off-by: Göktürk Yüksek <gokturk@gentoo.org>
app-laptop/mbpfan/mbpfan-9999.ebuild

index 357bf95cf2875678ebd450c49ac7edd671cda845..b530d9569fa7ada22df29471d8931bb24122eaf0 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -29,6 +29,9 @@ src_compile() {
 src_install() {
        emake DESTDIR="${ED}" install
 
+       # Decompress the man page to enable PM auto compression
+       gzip -d "${ED}"/usr/share/man/man8/mbpfan.8.gz || die
+
        # Remove the empty systemd unit directory
        # It doesn't actually install the unit file
        rmdir --ignore-fail-on-non-empty -p "${ED%/}/lib/systemd/system" || die