mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-24 10:02:29 +01:00
academic/labplot2: Updated for version 2.8.2
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
2d9af791f7
commit
ef32447ddb
3 changed files with 16 additions and 12 deletions
|
@ -15,5 +15,8 @@ are several new features that were not available in LabPlot1.
|
|||
|
||||
optional dependencies:
|
||||
|
||||
- LaTeX (to enable LaTeX typesetting in LabPlot)
|
||||
- fftw
|
||||
- hdf5
|
||||
- netcdf
|
||||
- cfitsio
|
||||
|
|
|
@ -1,8 +1,10 @@
|
|||
#!/bin/bash
|
||||
#
|
||||
# Slackware build script for LabPlot
|
||||
# Based on the Slackware 14.1 SlackBuild and AUR PKGBUILD for labplot
|
||||
# Written by Fellype do Nascimento <fellype(at)gmail.com>
|
||||
# Based on the Slackware 15.0 SlackBuild and AUR PKGBUILD for labplot
|
||||
#
|
||||
# Copyright 2014-2022, Fellype do Nascimento, Guaratingueta - Brazil
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use of this script, with or without modification, is
|
||||
# permitted provided that the following conditions are met:
|
||||
|
@ -25,7 +27,7 @@ NAME=labplot
|
|||
cd $(dirname $0) ; CWD=$(pwd)
|
||||
|
||||
PRGNAM=labplot2
|
||||
VERSION=${VERSION:-2.4.0}
|
||||
VERSION=${VERSION:-2.8.2}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
PKGTYPE=${PKGTYPE:-tgz}
|
||||
|
@ -87,18 +89,17 @@ find -L . | xargs -O file | grep "shared object" | grep ELF | cut -f 1 -d : | xa
|
|||
find -L . | xargs -O file | grep "current ar archive" | cut -f 1 -d : | xargs strip -g 2> /dev/null || true
|
||||
)
|
||||
|
||||
find $PKG/usr/share/man -type f -exec gzip -9 {} \;
|
||||
for i in $( find $PKG/usr/share/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
|
||||
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a AUTHORS ChangeLog COPYING INSTALL README \
|
||||
cp -a AUTHORS ChangeLog COPYING INSTALL README.md \
|
||||
$PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||
|
||||
mkdir -p $PKG/install
|
||||
cat $CWD/slack-desc > $PKG/install/slack-desc
|
||||
|
||||
if [ -e /usr/bin/requiredbuilder ]; then
|
||||
requiredbuilder -v -y -s $CWD $PKG
|
||||
fi
|
||||
|
||||
cd $PKG
|
||||
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
|
||||
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
PRGNAM="labplot2"
|
||||
VERSION="2.4.0"
|
||||
VERSION="2.8.2"
|
||||
HOMEPAGE="https://labplot.kde.org/"
|
||||
DOWNLOAD="http://kde.c3sl.ufpr.br/stable/labplot/2.4.0/labplot-2.4.0.tar.xz"
|
||||
MD5SUM="ee59c0095190bb3dc100e29e1a00c654"
|
||||
DOWNLOAD="https://download.kde.org/stable/labplot/2.8.2/labplot-2.8.2.tar.xz"
|
||||
MD5SUM="0d95441aa1b07898ed5811ff2dc485b7"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES=""
|
||||
MAINTAINER="Fellype do Nascimento"
|
||||
EMAIL="fellype(at)gmail.com"
|
||||
EMAIL="fellype (at) gmail (dot) com"
|
||||
|
|
Loading…
Reference in a new issue