Browse Source

xap/ugene: Fix location of MIME package file.

slackware-14.2
Damien Goutte-Gattat 5 years ago
parent
commit
7eee8c7997
  1. 2
      xap/ugene/doinst.sh
  2. 10
      xap/ugene/ugene.SlackBuild

2
xap/ugene/doinst.sh

@ -0,0 +1,2 @@
#!/bin/sh
update-mime-database usr/share/mime

10
xap/ugene/ugene.SlackBuild

@ -1,6 +1,6 @@
#!/bin/bash
# Build script for Slackware
# Copyright (C) 2009,2010,2011,2012,2013,2015 Damien Goutte-Gattat
# Copyright (C) 2009-2013,2015,2017 Damien Goutte-Gattat
#
# Redistribution and use of this script, with or without modifications,
# is permitted provided that the following conditions are met:
@ -32,7 +32,7 @@ WGET=${WGET:-http://ugene.unipro.ru/downloads/$ARCHIVE}
# Build infos
NAMEPKG=${NAMEPKG:-ugene}
BUILD=${BUILD:-1GGD}
BUILD=${BUILD:-2GGD}
ARCH=${ARCH:-$(uname -m | sed 's/^i.86$/i486/;s/^arm.*/arm/')}
JOBS=${JOBS:-1}
EXT=${EXT:-txz}
@ -82,12 +82,16 @@ qmake $COMP_OPTS INSTALL_MANDIR=/usr/man -r
make -j $JOBS release
make install INSTALL_ROOT=$PKG
# Move MIME file to the right place
mv $PKG/usr/share/mime/application-x-ugene.xml $PKG/usr/share/mime/packages/application-x-ugene.xml
# Install the documentation
mkdir -p $PKG/usr/doc/$NAME
install -m 644 COPYRIGHT LICENSE LICENSE.3rd_party $PKG/usr/doc/$NAME
# Copy slack-desc file
# Copy slack-desc and doinst.sh files
install -D -m 644 $CWD/slack-desc $PKG/install/slack-desc
install -m 755 $CWD/doinst.sh $PKG/install/doinst.sh
# Package the tree
cd $PKG

Loading…
Cancel
Save