diff options
Diffstat (limited to 'desktop/anki/anki.SlackBuild')
-rw-r--r-- | desktop/anki/anki.SlackBuild | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/desktop/anki/anki.SlackBuild b/desktop/anki/anki.SlackBuild index 59c5251bcc..3e91144fc5 100644 --- a/desktop/anki/anki.SlackBuild +++ b/desktop/anki/anki.SlackBuild @@ -3,7 +3,7 @@ # Slackware build script for anki # Written by Giuseppe Scalzi <giuseppe[at]osgate[dot]org> -# Updated for new Anki build scheme by Caterino Tommaso, T.O.P. (2022) +# Updated for new Anki build scheme by Caterino Tommaso, T.O.P. (2023) # # Redistribution and use of this script, with or without modification, is # permitted provided that the following conditions are met: @@ -25,8 +25,8 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=anki -VERSION=${VERSION:-2.1.53} -BUILD=${BUILD:-1} +VERSION=${VERSION:-2.1.65} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -72,6 +72,7 @@ find $PKG/usr -not -name lib -not -name bin -mindepth 1 -maxdepth 1 \ find $PKG/usr/bin $PKG/usr/lib/python3.9/site-packages \ -mindepth 1 -maxdepth 1 \ + -not -name "_aqt*" \ -not -name "aqt*" \ -not -name "anki*" \ -execdir rm -rf '{}' \+ @@ -88,7 +89,8 @@ install -vD -m 0644 $CWD/anki/anki.{png,xpm} -t $PKG/usr/share/pixmaps install -vD -m 0644 $CWD/anki/anki.desktop -t $PKG/usr/share/applications mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a $CWD/README $PKG/usr/doc/$PRGNAM-$VERSION +cp $CWD/README $PKG/usr/doc/$PRGNAM-$VERSION +chown root:root $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install |