[arch-commits] Commit in iproute2/trunk (PKGBUILD)

Christian Hesse eworm at archlinux.org
Mon Sep 26 12:13:37 UTC 2016


    Date: Monday, September 26, 2016 @ 12:13:36
  Author: eworm
Revision: 276961

do not install sgml and tex files

Modified:
  iproute2/trunk/PKGBUILD

----------+
 PKGBUILD |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-09-26 11:15:07 UTC (rev 276960)
+++ PKGBUILD	2016-09-26 12:13:36 UTC (rev 276961)
@@ -34,7 +34,6 @@
 
   # do not treat warnings as errors
   sed -i 's/-Werror//' Makefile
-
 }
 
 build() {
@@ -49,6 +48,9 @@
 
   make DESTDIR="${pkgdir}" install
 
+  # remove sgml and tex files...
+  rm "${pkgdir}/usr/share/doc/iproute2/*."{sgml,tex}
+
   # libnetlink isn't installed, install it FS#19385
   install -Dm644 include/libnetlink.h "${pkgdir}/usr/include/libnetlink.h"
   install -Dm644 lib/libnetlink.a "${pkgdir}/usr/lib/libnetlink.a"
@@ -56,5 +58,4 @@
   # move binaries
   cd "${pkgdir}"
   mv sbin usr/bin
-
 }



More information about the arch-commits mailing list