mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-17 23:34:07 +00:00
Removed docs from iputils pkgbuild, they always fail
This commit is contained in:
parent
af9664d9da
commit
84f32bba4d
1 changed files with 13 additions and 12 deletions
|
@ -1,6 +1,7 @@
|
|||
# $Id: PKGBUILD 82625 2010-06-15 04:22:56Z allan $
|
||||
# Maintainer: Aaron Griffin <aaron@archlinux.org>
|
||||
|
||||
# PlugApps: removed building docs for iputils, it never works for us
|
||||
plugrel=1
|
||||
|
||||
pkgname=iputils
|
||||
|
@ -40,18 +41,18 @@ build()
|
|||
# good god, these docs are a pain
|
||||
# special thanks to Michael(tm) Smith <mike@w3.org> - http://people.w3.org/mike/
|
||||
# from #docbook on freenode.org for figuring this out
|
||||
cd doc
|
||||
for file in *.sgml; do
|
||||
xf=${file/.sgml/.xml}
|
||||
osx -xlower -xno-nl-in-tag $file > $xf || true
|
||||
sed -i "s|<refname>\(.*\), \(.*\)</refname>|<refname>\1</refname>, <refname>\2</refname>|g" $xf
|
||||
xsltproc /usr/share/xml/docbook/xsl-stylesheets-1.75.2/manpages/docbook.xsl $xf
|
||||
done
|
||||
#cd doc
|
||||
#for file in *.sgml; do
|
||||
# xf=${file/.sgml/.xml}
|
||||
# osx -xlower -xno-nl-in-tag $file > $xf || true
|
||||
# sed -i "s|<refname>\(.*\), \(.*\)</refname>|<refname>\1</refname>, <refname>\2</refname>|g" $xf
|
||||
# xsltproc /usr/share/xml/docbook/xsl-stylesheets-1.75.2/manpages/docbook.xsl $xf
|
||||
#done
|
||||
|
||||
mkdir -p $pkgdir/usr/share/man/man8
|
||||
install -m644 arping.8 clockdiff.8 ping.8 ping6.8 rarpd.8 rdisc.8 \
|
||||
tftpd.8 tracepath.8 tracepath6.8 traceroute6.8 \
|
||||
$pkgdir/usr/share/man/man8/
|
||||
#mkdir -p $pkgdir/usr/share/man/man8
|
||||
#install -m644 arping.8 clockdiff.8 ping.8 ping6.8 rarpd.8 rdisc.8 \
|
||||
# tftpd.8 tracepath.8 tracepath6.8 traceroute6.8 \
|
||||
# $pkgdir/usr/share/man/man8/
|
||||
|
||||
# build traceroute
|
||||
# this is combined in this package because it's awkward as a separate package
|
||||
|
@ -59,5 +60,5 @@ build()
|
|||
patch -Np1 -i ../permission-fix.patch || return 1
|
||||
./configure --prefix=/usr --sbindir=/bin --mandir=/usr/share/man
|
||||
make CFLAGS="${CFLAGS} -Ilinux-include/" || return 1
|
||||
make DESTDIR=${pkgdir} install install-man
|
||||
make DESTDIR=${pkgdir} install #install-man
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue