mirror of
git://slackware.nl/current.git
synced 2024-12-28 09:59:53 +01:00
3f40480143
ap/vim-8.2.0521-x86_64-1.txz: Upgraded. d/vala-0.48.3-x86_64-1.txz: Upgraded. l/imagemagick-7.0.10_5-x86_64-1.txz: Upgraded. x/compiz-0.8.18-x86_64-1.txz: Upgraded. xap/audacious-4.0.1-x86_64-1.txz: Upgraded. xap/audacious-plugins-4.0.1-x86_64-1.txz: Upgraded. xap/vim-gvim-8.2.0521-x86_64-1.txz: Upgraded. extra/brltty/brltty-6.1-x86_64-1.txz: Upgraded. extra/pure-alsa-system/audacious-plugins-4.0.1-x86_64-1_alsa.txz: Upgraded. testing/packages/PAM/sudo-1.8.31p1-x86_64-1_pam.txz: Upgraded.
20 lines
847 B
Bash
Executable file
20 lines
847 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/Application/assets/UBraille.ttf
|
|
rm brltty-${VERSION}/Android/Application/libs/support-v4-19.1.0.jar
|
|
rm -r brltty-${VERSION}/Android/Application/src/*
|
|
rm -r brltty-${VERSION}/Android/Application/res/*
|
|
rm -r brltty-${VERSION}/Android/Core/res/*
|
|
rm -r brltty-${VERSION}/Android/Core/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
|