desktop/un-fonts-core: Updated for version 1.0
This commit is contained in:
parent
db6eedae69
commit
13d0404eee
|
@ -6,4 +6,4 @@ This package contains Core families (9 fonts)
|
||||||
* UnDotum, UnDotumBold: sans-serif
|
* UnDotum, UnDotumBold: sans-serif
|
||||||
* UnGraphic, UnGraphicBold: sans-serif style
|
* UnGraphic, UnGraphicBold: sans-serif style
|
||||||
* UnPilgi, UnPilgiBold: script
|
* UnPilgi, UnPilgiBold: script
|
||||||
* UnGungseo: cursive, brush-stroke
|
* UnGungseo: cursive, brush-stroke
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
#!/bin/sh
|
|
||||||
# Update mkfontscale and mkfontdir:
|
# Update mkfontscale and mkfontdir:
|
||||||
if [ -x /usr/bin/mkfontdir ]; then
|
if [ -x /usr/bin/mkfontdir ]; then
|
||||||
( cd /usr/share/fonts/TTF
|
( cd /usr/share/fonts/TTF
|
||||||
|
@ -12,14 +11,3 @@ if [ -x /usr/bin/fc-cache ]; then
|
||||||
/usr/bin/fc-cache -f
|
/usr/bin/fc-cache -f
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# For some versions before Slackware 12.1
|
|
||||||
if [ -x /usr/X11R6/bin/mkfontdir ]; then
|
|
||||||
( cd /usr/X11R6/lib/X11/fonts/TTF
|
|
||||||
mkfontscale .
|
|
||||||
mkfontdir .
|
|
||||||
)
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ -x /usr/X11R6/bin/fc-cache ]; then
|
|
||||||
/usr/bin/fc-cache -f
|
|
||||||
fi
|
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
# customary to leave one space after the ':'.
|
# customary to leave one space after the ':'.
|
||||||
|
|
||||||
|-----handy-ruler------------------------------------------------------|
|
|-----handy-ruler------------------------------------------------------|
|
||||||
un-fonts-core: un-fonts-core (Korean TrueType fonts)
|
un-fonts-core: un-fonts-core (Korean TrueType fonts)
|
||||||
un-fonts-core:
|
un-fonts-core:
|
||||||
un-fonts-core: This package contains Core families (9 fonts):
|
un-fonts-core: This package contains Core families (9 fonts):
|
||||||
un-fonts-core:
|
un-fonts-core:
|
||||||
|
|
|
@ -23,12 +23,13 @@
|
||||||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
PRGNAM=un-fonts-core
|
PRGNAM=un-fonts-core
|
||||||
PRGNAMALT=un-fonts
|
|
||||||
VERSION=1.0
|
VERSION=1.0
|
||||||
ARCH=noarch
|
ARCH=noarch
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-_SBo}
|
TAG=${TAG:-_SBo}
|
||||||
|
|
||||||
|
SRCNAME=un-fonts
|
||||||
|
|
||||||
CWD=$(pwd)
|
CWD=$(pwd)
|
||||||
TMP=${TMP:-/tmp/SBo}
|
TMP=${TMP:-/tmp/SBo}
|
||||||
PKG=$TMP/package-$PRGNAM
|
PKG=$TMP/package-$PRGNAM
|
||||||
|
@ -39,9 +40,9 @@ set -e
|
||||||
rm -rf $PKG
|
rm -rf $PKG
|
||||||
mkdir -p $TMP $PKG $OUTPUT
|
mkdir -p $TMP $PKG $OUTPUT
|
||||||
cd $TMP
|
cd $TMP
|
||||||
rm -rf $PRGNAMALT
|
rm -rf $SRCNAME
|
||||||
tar -xzvf $CWD/$PRGNAM-$VERSION.tar.gz
|
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
|
||||||
cd $PRGNAMALT
|
cd $SRCNAME
|
||||||
chown -R root:root .
|
chown -R root:root .
|
||||||
find . \
|
find . \
|
||||||
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
|
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
|
||||||
|
@ -49,17 +50,8 @@ find . \
|
||||||
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
|
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
|
||||||
-exec chmod 644 {} \;
|
-exec chmod 644 {} \;
|
||||||
|
|
||||||
|
mkdir -p $PKG/usr/share/fonts/TTF
|
||||||
# To determinate Xorg's location
|
cp -a *.ttf $PKG/usr/share/fonts/TTF
|
||||||
XPREF=$(pkg-config --variable=prefix x11) || true
|
|
||||||
if [ "$XPREF" == "/usr" ]; then
|
|
||||||
FONTDIR="$PKG/usr/share/fonts/TTF"
|
|
||||||
else
|
|
||||||
FONTDIR="$PKG/usr/X11R6/lib/X11/fonts/TTF"
|
|
||||||
fi
|
|
||||||
|
|
||||||
mkdir -p $FONTDIR/
|
|
||||||
cp -a *.ttf $FONTDIR/
|
|
||||||
|
|
||||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||||
cp -a COPYING README $PKG/usr/doc/$PRGNAM-$VERSION
|
cp -a COPYING README $PKG/usr/doc/$PRGNAM-$VERSION
|
||||||
|
@ -70,4 +62,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
|
||||||
cat $CWD/doinst.sh > $PKG/install/doinst.sh
|
cat $CWD/doinst.sh > $PKG/install/doinst.sh
|
||||||
|
|
||||||
cd $PKG
|
cd $PKG
|
||||||
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
|
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
|
||||||
|
|
|
@ -3,6 +3,8 @@ VERSION="1.0"
|
||||||
HOMEPAGE="http://kldp.net/projects/unfonts"
|
HOMEPAGE="http://kldp.net/projects/unfonts"
|
||||||
DOWNLOAD="http://kldp.net/frs/download.php/1425/un-fonts-core-1.0.tar.gz"
|
DOWNLOAD="http://kldp.net/frs/download.php/1425/un-fonts-core-1.0.tar.gz"
|
||||||
MD5SUM="553aacd65143429b82b85d906c4ae90a"
|
MD5SUM="553aacd65143429b82b85d906c4ae90a"
|
||||||
|
DOWNLOAD_x86_64=""
|
||||||
|
MD5SUM_x86_64=""
|
||||||
MAINTAINER="Christophe Nguyen"
|
MAINTAINER="Christophe Nguyen"
|
||||||
EMAIL="cnguyenminhtan@free.fr"
|
EMAIL="cnguyenminhtan@free.fr"
|
||||||
APPROVED="David Somero"
|
APPROVED="dsomero,rworkman"
|
||||||
|
|
Loading…
Reference in New Issue