summaryrefslogtreecommitdiff
path: root/academic
diff options
context:
space:
mode:
Diffstat (limited to 'academic')
-rw-r--r--academic/geda-gaf/geda-gaf.SlackBuild15
1 files changed, 14 insertions, 1 deletions
diff --git a/academic/geda-gaf/geda-gaf.SlackBuild b/academic/geda-gaf/geda-gaf.SlackBuild
index 8002c40bc2..42232d3223 100644
--- a/academic/geda-gaf/geda-gaf.SlackBuild
+++ b/academic/geda-gaf/geda-gaf.SlackBuild
@@ -6,7 +6,7 @@
PRGNAM=geda-gaf
VERSION=${VERSION:-1.6.2}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -69,7 +69,20 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$PKG
+# Don't clobber Slackware's mime info.
rm -f $PKG/usr/share/applications/mimeinfo.cache
+rm -f $PKG/usr/share/mime/XMLnamespaces
+rm -f $PKG/usr/share/mime/version
+rm -f $PKG/usr/share/mime/aliases
+rm -f $PKG/usr/share/mime/generic-icons
+rm -f $PKG/usr/share/mime/globs
+rm -f $PKG/usr/share/mime/globs2
+rm -f $PKG/usr/share/mime/icons
+rm -f $PKG/usr/share/mime/magic
+rm -f $PKG/usr/share/mime/mime.cache
+rm -f $PKG/usr/share/mime/subclasses
+rm -f $PKG/usr/share/mime/treemagic
+rm -f $PKG/usr/share/mime/types
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true