summaryrefslogtreecommitdiff
path: root/network/nicotine+/nicotine+.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/nicotine+/nicotine+.SlackBuild')
-rw-r--r--network/nicotine+/nicotine+.SlackBuild7
1 files changed, 3 insertions, 4 deletions
diff --git a/network/nicotine+/nicotine+.SlackBuild b/network/nicotine+/nicotine+.SlackBuild
index 1027283d21..bd0c299c66 100644
--- a/network/nicotine+/nicotine+.SlackBuild
+++ b/network/nicotine+/nicotine+.SlackBuild
@@ -25,7 +25,7 @@
PRGNAM=nicotine+
SRCNAM=nicotine-plus
-VERSION=${VERSION:-2.2.0}
+VERSION=${VERSION:-2.2.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -59,15 +59,14 @@ find -L . \
# Fix paths.
sed -i 's|share/man|man|' setup.py
-sed -i "s|share/doc/nicotine|doc/$PRGNAM-$VERSION|" \
- setup.py pynicotine/gtkgui/frame.py
+sed -i "s|share/doc/nicotine|doc/$PRGNAM-$VERSION|" setup.py
python3 setup.py install --root=$PKG
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-cp -a AUTHORS.md COPYING README.md $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a COPYING $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install