diff options
author | dsomero <xgizzmo@slackbuilds.org> | 2012-09-27 18:54:03 -0400 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2012-09-29 17:17:35 -0500 |
commit | 856a223d7c55cbffa794f26bc41fcedfcb5e58eb (patch) | |
tree | e9dddbe7985c91fcadb36fc52b46cb2ad6a74414 | |
parent | 466ae5343b01accbf0d0dceeb874a07f7398360e (diff) | |
download | slackbuilds-856a223d7c55cbffa794f26bc41fcedfcb5e58eb.tar.gz |
academic/geda-gaf: Fixed (Don't clobber Slackware's mime info)
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
-rw-r--r-- | academic/geda-gaf/geda-gaf.SlackBuild | 15 |
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 |