summaryrefslogtreecommitdiffstats
path: root/calibre/build/calibre.SlackBuild
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2014-07-12 18:03:11 +0000
committer Eric Hameleers <alien@slackware.com>2014-07-12 18:03:11 +0000
commit61f04b5c9d5ae958d654c5bdc5af1e6bf093489b (patch)
tree276eb8901ba45df59e2c345c1cb84fdb0cdba85b /calibre/build/calibre.SlackBuild
parent2db34ad8442ca5a0e5df95f406d305fc3a61ed5a (diff)
downloadasb-61f04b5c9d5ae958d654c5bdc5af1e6bf093489b.tar.gz
asb-61f04b5c9d5ae958d654c5bdc5af1e6bf093489b.tar.xz
pkg-config is now used to determine the location of bash-completion files
Diffstat (limited to 'calibre/build/calibre.SlackBuild')
-rwxr-xr-xcalibre/build/calibre.SlackBuild8
1 files changed, 1 insertions, 7 deletions
diff --git a/calibre/build/calibre.SlackBuild b/calibre/build/calibre.SlackBuild
index e8682cb2..dc1d0140 100755
--- a/calibre/build/calibre.SlackBuild
+++ b/calibre/build/calibre.SlackBuild
@@ -1335,14 +1335,8 @@ make_calibre () {
--staging-libdir=$PKG/usr/lib${LIBDIRSUFFIX} \
2>&1 | tee $OUTPUT/install-$PRGNAM.log
- # OK... first some fixes due to the below-par installer:
-
# The bash completion files need to be in /etc :
- mv $PKG/usr/etc $PKG/
-
- ## Mime type definition files end in .xml :
- # Fixed in calibre-0.8.70
- #mv $PKG/usr/share/mime/packages/calibre-mimetypes{,.xml}
+ [ -d $PKG/usr/etc ] && mv $PKG/usr/etc $PKG/
# This does not belong in a package - use 'removepkg' instead:
rm -f $PKG/usr/bin/calibre-uninstall