mirror of
git://slackware.nl/current.git
synced 2024-12-27 09:59:16 +01:00
2b9bc64077
d/vala-0.56.15-x86_64-1.txz: Upgraded. e/emacspeak-59.0-x86_64-1.txz: Upgraded. kde/calligra-3.2.1-x86_64-37.txz: Rebuilt. Recompiled against poppler-24.03.0. kde/cantor-23.08.5-x86_64-2.txz: Rebuilt. Recompiled against poppler-24.03.0. kde/kfilemetadata-5.115.0-x86_64-2.txz: Rebuilt. Recompiled against poppler-24.03.0. kde/kile-2.9.93-x86_64-31.txz: Rebuilt. Recompiled against poppler-24.03.0. kde/kitinerary-23.08.5-x86_64-2.txz: Rebuilt. Recompiled against poppler-24.03.0. kde/krita-5.2.2-x86_64-5.txz: Rebuilt. Recompiled against poppler-24.03.0. kde/okular-23.08.5-x86_64-2.txz: Rebuilt. Recompiled against poppler-24.03.0. l/poppler-24.03.0-x86_64-1.txz: Upgraded. Shared library .so-version bump. Enabled building libpoppler-qt6. x/xev-1.2.6-x86_64-1.txz: Upgraded. x/xf86-input-wacom-1.2.1-x86_64-1.txz: Upgraded. x/xfontsel-1.1.1-x86_64-1.txz: Upgraded. x/xmessage-1.0.7-x86_64-1.txz: Upgraded. x/xmh-1.0.5-x86_64-1.txz: Upgraded. x/xpr-1.2.0-x86_64-1.txz: Upgraded. x/xrefresh-1.1.0-x86_64-1.txz: Upgraded. x/xsm-1.0.6-x86_64-1.txz: Upgraded.
40 lines
1 KiB
Bash
Executable file
40 lines
1 KiB
Bash
Executable file
#!/bin/sh
|
|
# Repacks the emacspeak tarball to remove some large/unused files.
|
|
|
|
PKGNAM=emacspeak
|
|
VERSION=${VERSION:-$(echo $PKGNAM-*.tar.bz2 | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
|
|
|
|
# Unpack original .tar.bz2:
|
|
rm -rf ${PKGNAM}-${VERSION}
|
|
tar xf ${PKGNAM}-${VERSION}.tar.bz2 || exit 1
|
|
|
|
# Get rid of support files used to build .html:
|
|
( cd ${PKGNAM}-${VERSION}/etc
|
|
for file in *.html ; do
|
|
for supportfile in $(basename $file .html).* ; do
|
|
if [ ! "$file" = "$supportfile" ]; then
|
|
rm -f $supportfile
|
|
fi
|
|
done
|
|
done
|
|
)
|
|
|
|
# Keep the last 6 NEWS files:
|
|
( cd ${PKGNAM}-${VERSION}/etc
|
|
mkdir news-tmp
|
|
mv $(ls -t NEWS* | head -n 6) news-tmp
|
|
rm -f NEWS*
|
|
mv news-tmp/* .
|
|
rmdir news-tmp
|
|
)
|
|
|
|
# More cruft:
|
|
rm -rf ${PKGNAM}-${VERSION}/.ccls-cache
|
|
|
|
# Repack as .tar.lz:
|
|
rm -f ${PKGNAM}-${VERSION}.tar
|
|
tar cf ${PKGNAM}-${VERSION}.tar ${PKGNAM}-${VERSION}
|
|
rm -f ${PKGNAM}-${VERSION}.tar.lz
|
|
plzip -9 ${PKGNAM}-${VERSION}.tar
|
|
touch -r ${PKGNAM}-${VERSION}.tar.bz2 ${PKGNAM}-${VERSION}.tar.lz
|
|
rm -r ${PKGNAM}-${VERSION}
|