slackware-current/extra/source/brltty/dump.dos.windows.android.stuff.sh
Patrick J Volkerding d5dc9cb46d Sat Oct 2 19:21:52 UTC 2021
d/python-setuptools-58.2.0-x86_64-1.txz:  Upgraded.
kde/kservice-5.86.0-x86_64-3.txz:  Rebuilt.
  Fix paths in kde.{csh,sh}. Thanks to marco70.
  Since kdesu and kxmlgui are looking in /usr/lib${LIBDIRSUFFIX}/kf5 for
  some reason, let's just link that location to libexec/kf5 to make things
  work again. Also, I'm not sure why these things are in this particular
  package, but I guess they had to go somewhere.
l/python-cffi-1.14.6-x86_64-1.txz:  Added.
  This is needed by hexchat-2.16.0.
l/python-pycparser-2.20-x86_64-1.txz:  Added.
  This is needed by hexchat-2.16.0.
l/vte-0.66.0-x86_64-1.txz:  Upgraded.
xap/hexchat-2.16.0-x86_64-1.txz:  Upgraded.
extra/brltty/brltty-6.4-x86_64-1.txz:  Upgraded.
2021-10-03 08:59:57 +02:00

17 lines
720 B
Bash
Executable file

#!/bin/sh
# Repacks the brltty tarball to remove the unneeded DOS/Windows stuff.
VERSION=${VERSION:-$(echo brltty-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
tar xf brltty-${VERSION}.tar.xz || exit 1
mv brltty-${VERSION}.tar.xz brltty-${VERSION}.tar.xz.orig
rm brltty-${VERSION}/Android/Gradle/app/src/main/assets/UBraille.ttf
rm brltty-${VERSION}/Android/Gradle/gradle/wrapper/gradle-wrapper.jar
rm -r brltty-${VERSION}/Android/Gradle/app/src/*
rm -r brltty-${VERSION}/DOS
rm -r brltty-${VERSION}/Windows
tar cf brltty-${VERSION}.tar brltty-${VERSION}
rm -r brltty-${VERSION}
plzip -9 brltty-${VERSION}.tar
touch -r brltty-${VERSION}.tar.xz.orig brltty-${VERSION}.tar.lz
rm brltty-${VERSION}.tar.xz.orig