mirror of
https://github.com/SlackBuildsOrg/slackbuilds
synced 2024-09-28 15:21:00 +02:00
system/ttf-ancient-fonts: Add douninst.sh.
Signed-off-by: B. Watson <urchlay@slackware.uk> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
a11b4ebfde
commit
bc4733a7a9
2 changed files with 7 additions and 1 deletions
|
@ -8,6 +8,9 @@ if [ -x /usr/bin/mkfontdir ]; then
|
|||
mkfontdir .
|
||||
)
|
||||
fi
|
||||
|
||||
[ "$DISPLAY" != "" ] && xset fp rehash 2>/dev/null
|
||||
|
||||
if [ -x /usr/bin/fc-cache ]; then
|
||||
/usr/bin/fc-cache -f
|
||||
fi
|
||||
|
|
|
@ -29,11 +29,13 @@
|
|||
# presumably included the licenses, so I'm including Debian's copyright
|
||||
# file that asserts these fonts are "free for any use".
|
||||
|
||||
# 20230308 bkw: BUILD=2, add douninst.sh.
|
||||
|
||||
cd $(dirname $0) ; CWD=$(pwd)
|
||||
|
||||
PRGNAM=ttf-ancient-fonts
|
||||
VERSION=${VERSION:-2.60}
|
||||
BUILD=${BUILD:-1}
|
||||
BUILD=${BUILD:-2}
|
||||
TAG=${TAG:-_SBo}
|
||||
PKGTYPE=${PKGTYPE:-tgz}
|
||||
ARCH=noarch
|
||||
|
@ -91,6 +93,7 @@ if [ "$HAS_SYMBOLA" = "yes" ]; then
|
|||
$PKG/install/slack-desc
|
||||
fi
|
||||
cat $CWD/doinst.sh > $PKG/install/doinst.sh
|
||||
cp $PKG/install/doinst.sh $PKG/install/douninst.sh
|
||||
|
||||
cd $PKG
|
||||
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
|
||||
|
|
Loading…
Reference in a new issue