Browse Source

xap/ugene: Upgraded to ugene-1.26.1.

slackware-14.2
Damien Goutte-Gattat 5 years ago
parent
commit
3bfe7929fa
  1. 1
      xap/ugene/ugene-1.16.1.tar.gz.sha1
  2. 1
      xap/ugene/ugene-1.26.1.tar.gz.sha256
  3. 16
      xap/ugene/ugene.SlackBuild

1
xap/ugene/ugene-1.16.1.tar.gz.sha1

@ -1 +0,0 @@
1af6635da4f80129ce8efbbd35e9582e35d975b1 ugene-1.16.1.tar.gz

1
xap/ugene/ugene-1.26.1.tar.gz.sha256

@ -0,0 +1 @@
4787f136e6f5497ae7391a82341d67e383c5e6b5019fa8c7d3add73eeae140b3 ugene-1.26.1.tar.gz

16
xap/ugene/ugene.SlackBuild

@ -23,10 +23,12 @@
# Contact: Damien Goutte-Gattat <dgouttegattat@incenp.org>
#
# Latest ugene sourcecode is available at: <http://ugene.unipro.ru/>.
#
# Depends: l/qt5-webkit
# Source package infos
NAMESRC=${NAMESRC:-ugene}
VERSION=${VERSION:-1.16.1}
VERSION=${VERSION:-1.26.1}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.gz}
WGET=${WGET:-http://ugene.unipro.ru/downloads/$ARCHIVE}
@ -60,7 +62,7 @@ if [ ! -r $ARCHIVE ]; then
wget -c -O $ARCHIVE.part "$WGET"
mv $ARCHIVE.part $ARCHIVE
fi
sha1sum -c $ARCHIVE.sha1
sha256sum -c $ARCHIVE.sha256
NAME=$(tar ft $ARCHIVE | head -n 1 | cut -d / -f 2)
# Compilation options
@ -78,21 +80,27 @@ cd $TMP
echo "Building $ARCHIVE..."
tar xf $CWD/$ARCHIVE
cd $NAME
qmake $COMP_OPTS INSTALL_MANDIR=/usr/man -r
qmake-qt5 $COMP_OPTS INSTALL_MANDIR=/usr/man -r
make -j $JOBS release
make install INSTALL_ROOT=$PKG
# Move MIME file to the right place
mkdir -p $PKG/usr/share/mime/packages
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
install -m 644 COPYRIGHT LICENSE.txt LICENSE.3rd_party.txt $PKG/usr/doc/$NAME
# 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
# Add dependency infos
cat <<EOF > $PKG/install/slack-required
qt5-webkit
EOF
# Package the tree
cd $PKG
mkdir -p $OUT

Loading…
Cancel
Save