mdocml: move to usr/bin.
This commit is contained in:
@@ -1,3 +1,3 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
/sbin/makewhatis -a -Tutf8
|
makewhatis -a -Tutf8
|
||||||
exit 0
|
exit $?
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user