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 #!/bin/sh
/sbin/makewhatis -a -Tutf8 makewhatis -a -Tutf8
exit 0 exit $?

View file

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