mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-28 10:02:43 +01:00
academic/Mnemosyne: Updated for version 2.5.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
parent
6df589e5e5
commit
a8b73487f5
3 changed files with 17 additions and 10 deletions
|
@ -23,13 +23,13 @@
|
|||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
PRGNAM=Mnemosyne
|
||||
VERSION=${VERSION:-2.3.4}
|
||||
VERSION=${VERSION:-2.5}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
if [ -z "$ARCH" ]; then
|
||||
case "$( uname -m )" in
|
||||
i?86) ARCH=i486 ;;
|
||||
i?86) ARCH=i586 ;;
|
||||
arm*) ARCH=arm ;;
|
||||
*) ARCH=$( uname -m ) ;;
|
||||
esac
|
||||
|
@ -40,8 +40,8 @@ TMP=${TMP:-/tmp/SBo}
|
|||
PKG=$TMP/package-$PRGNAM
|
||||
OUTPUT=${OUTPUT:-/tmp}
|
||||
|
||||
if [ "$ARCH" = "i486" ]; then
|
||||
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
|
||||
if [ "$ARCH" = "i586" ]; then
|
||||
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
|
||||
LIBDIRSUFFIX=""
|
||||
elif [ "$ARCH" = "i686" ]; then
|
||||
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
|
||||
|
@ -69,8 +69,8 @@ find -L . \
|
|||
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
|
||||
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
||||
|
||||
python setup.py build
|
||||
python setup.py install --prefix=/usr --root=$PKG
|
||||
python3 setup.py build
|
||||
python3 setup.py install --prefix=/usr --root=$PKG
|
||||
|
||||
# Now I will remove this icon which is not of 48x48 pixels size
|
||||
rm $PKG/usr/share/icons/mnemosyne.png
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
PRGNAM="Mnemosyne"
|
||||
VERSION="2.3.4"
|
||||
VERSION="2.5"
|
||||
HOMEPAGE="http://www.mnemosyne-proj.org/download-mnemosyne.php"
|
||||
DOWNLOAD="http://downloads.sourceforge.net/project/mnemosyne-proj/mnemosyne/mnemosyne-2.3.4/Mnemosyne-2.3.4.tar.gz"
|
||||
MD5SUM="1fa437d173de5b9c822fac0f46a05062"
|
||||
DOWNLOAD="https://downloads.sourceforge.net/project/mnemosyne-proj/mnemosyne/mnemosyne-2.5/Mnemosyne-2.5.tar.gz"
|
||||
MD5SUM="fcae31625523437049cc64c7b0c226b8"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES="CherryPy matplotlib WebOb"
|
||||
REQUIRES="python3-PyQt5 PyOpenGL CherryPy matplotlib WebOb"
|
||||
MAINTAINER="R. S. Ananda Murthy"
|
||||
EMAIL="rsamurti@gmail.com"
|
||||
|
|
|
@ -5,3 +5,10 @@ fi
|
|||
if [ -x /usr/bin/update-mime-database ]; then
|
||||
/usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
|
||||
fi
|
||||
|
||||
if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
|
||||
if [ -x /usr/bin/gtk-update-icon-cache ]; then
|
||||
/usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
|
||||
fi
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in a new issue