mirror of
git://slackware.nl/current.git
synced 2024-12-26 09:58:59 +01:00
78efd88e4c
a/less-668-x86_64-2.txz: Rebuilt. I have tried to like the lesspipe.sh from https://github.com/wofr06 since it was switched to about 6 months ago, but it's just not working out here -- trying to look at fontconfig *.conf files was the last straw for me. So, I'm changing lesspipe.sh back to the Slackware version (less is more ;-). The lesspipe-wofr06.sh will still be included (and in fact it was upgraded to lesspipe-2.16), so if you prefer it feel free to relink to it. l/fluidsynth-2.4.1-x86_64-1.txz: Upgraded. l/spirv-llvm-translator-19.1.2-x86_64-1.txz: Upgraded. x/noto-emoji-2.047-noarch-1.txz: Upgraded. x/noto-fonts-ttf-2024.12.01-noarch-1.txz: Upgraded.
36 lines
1.2 KiB
Bash
Executable file
36 lines
1.2 KiB
Bash
Executable file
#!/bin/sh
|
|
|
|
rm -f noto-emoji-subset-*
|
|
|
|
PKGNAM=noto-emoji
|
|
VERSION=${VERSION:-$(echo $PKGNAM-*.tar.lz | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
|
|
|
|
# Unpack original .tar.lz:
|
|
rm -rf ${PKGNAM}-${VERSION}
|
|
tar xf ${PKGNAM}-${VERSION}.tar.lz || exit 1
|
|
|
|
# Fix permissions:
|
|
cd ${PKGNAM}-${VERSION}
|
|
chown -R root:root .
|
|
find . \
|
|
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
|
|
-exec chmod 755 {} \+ -o \
|
|
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
|
|
-exec chmod 644 {} \+
|
|
cd ..
|
|
|
|
# Save the files that will be packaged:
|
|
mkdir -p ${PKGNAM}-subset-${VERSION}/fonts
|
|
cp -a -v ${PKGNAM}-${VERSION}/fonts/NotoColorEmoji.ttf ${PKGNAM}-subset-${VERSION}/fonts
|
|
( cd ${PKGNAM}-${VERSION}
|
|
cp -a -v AUTHORS* BUILD* CONTRIBUTING* CONTRIBUTORS* fonts/LICENSE* README* ../${PKGNAM}-subset-${VERSION}
|
|
)
|
|
|
|
# Repack as .tar.lz:
|
|
rm -r ${PKGNAM}-${VERSION}
|
|
rm -f ${PKGNAM}-subset-${VERSION}.tar
|
|
tar cf ${PKGNAM}-subset-${VERSION}.tar ${PKGNAM}-subset-${VERSION}
|
|
rm -r ${PKGNAM}-subset-${VERSION}
|
|
touch -r ${PKGNAM}-${VERSION}.tar.lz ${PKGNAM}-subset-${VERSION}.tar
|
|
rm -f ${PKGNAM}-${VERSION}.tar.lz
|
|
plzip -9 ${PKGNAM}-subset-${VERSION}.tar
|