mdocml: move to usr/bin.

This commit is contained in:
Juan RP 2015-06-02 08:13:14 +02:00
parent 02e862b12d
commit c5d04a6494
2 changed files with 4 additions and 4 deletions

View file

@ -1,3 +1,3 @@
#!/bin/sh
/sbin/makewhatis -a -Tutf8
exit 0
makewhatis -a -Tutf8
exit $?

View file

@ -1,7 +1,7 @@
# Template file for 'mdocml'
pkgname=mdocml
version=1.13.3
revision=2
revision=3
build_pie=yes
build_style=configure
makedepends="sqlite-devel"
@ -29,7 +29,7 @@ post_install() {
# Use symlinks.
rm -f ${DESTDIR}/usr/bin/{apropos,man,whatis}
rm -f ${DESTDIR}/usr/sbin/makewhatis
ln -sfr ${DESTDIR}/usr/bin/mandoc ${DESTDIR}/usr/sbin/makewhatis
ln -sfr ${DESTDIR}/usr/bin/mandoc ${DESTDIR}/usr/bin/makewhatis
for f in man apropos whatis; do
ln -s mandoc ${DESTDIR}/usr/bin/$f
done