system/noto-fonts: Updated for version 20170428.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
22b9f96672
commit
4305d37a30
|
@ -23,8 +23,8 @@
|
|||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
PRGNAM=noto-fonts
|
||||
VERSION=${VERSION:-20150929}
|
||||
BUILD=${BUILD:-2}
|
||||
VERSION=${VERSION:-20170428}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
ARCH=noarch
|
||||
|
@ -34,21 +34,16 @@ TMP=${TMP:-/tmp/SBo}
|
|||
PKG=$TMP/package-$PRGNAM
|
||||
OUTPUT=${OUTPUT:-/tmp}
|
||||
|
||||
SRCVER="2015-09-29-license-adobe"
|
||||
SRCNAM=${SRCNAM:-420acaa025c84985ac6b7f457420e15909af1b51}
|
||||
|
||||
set -e
|
||||
|
||||
rm -rf $PKG
|
||||
mkdir -p $TMP $PKG $OUTPUT
|
||||
cd $TMP
|
||||
rm -rf $PRGNAM-$SRCVER $PRGNAM-$VERSION
|
||||
if [ -f $CWD/v$SRCVER.tar.gz ]; then
|
||||
tar xvf $CWD/v$SRCVER.tar.gz --exclude=hinted/{Arimo*.ttf,Cousine*.ttf,Tinos*.ttf}
|
||||
else
|
||||
tar xvf $CWD/$PRGNAM-$SRCVER.tar.gz --exclude=hinted/{Arimo*.ttf,Cousine*.ttf,Tinos*.ttf}
|
||||
fi
|
||||
mv $PRGNAM-$SRCVER $PRGNAM-$VERSION
|
||||
cd $PRGNAM-$VERSION
|
||||
rm -rf $PRGNAM-$SRCNAM
|
||||
tar xvf $CWD/$PRGNAM-$SRCNAM.tar.gz --exclude=hinted/{Arimo*.ttf,Cousine*.ttf,Tinos*.ttf}
|
||||
cd $PRGNAM-$SRCNAM
|
||||
chown -R root:root .
|
||||
find -L . \
|
||||
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
|
||||
|
@ -63,13 +58,14 @@ install -d $PKG/usr/share/fonts/TTF/
|
|||
install -m644 hinted/Noto*.tt[fc] $PKG/usr/share/fonts/TTF/
|
||||
install -m644 unhinted/Noto*.tt[fc] $PKG/usr/share/fonts/TTF/
|
||||
|
||||
rm $PKG/usr/share/fonts/TTF/NotoSans{,UI}-*.ttf
|
||||
# Already in NotoSans-*.ttc
|
||||
rm -f $PKG/usr/share/fonts/TTF/NotoSans{,UI}-*.ttf
|
||||
|
||||
mkdir -p $PKG/etc/fonts/conf.avail
|
||||
install -m644 $CWD/*.conf $PKG/etc/fonts/conf.avail/
|
||||
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a FAQ.md LICENSE README.md $PKG/usr/doc/$PRGNAM-$VERSION/
|
||||
cp -a FAQ.md issue_template.md LICENSE NEWS README.md $PKG/usr/doc/$PRGNAM-$VERSION/
|
||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||
|
||||
mkdir -p $PKG/install
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="noto-fonts"
|
||||
VERSION="20150929"
|
||||
VERSION="20170428"
|
||||
HOMEPAGE="https://github.com/googlei18n/noto-fonts"
|
||||
DOWNLOAD="https://github.com/googlei18n/noto-fonts/archive/v2015-09-29-license-adobe.tar.gz"
|
||||
MD5SUM="fc043c92857265622f1f6562a71a81fe"
|
||||
DOWNLOAD="https://github.com/googlei18n/noto-fonts/archive/420acaa025c84985ac6b7f457420e15909af1b51/noto-fonts-420acaa025c84985ac6b7f457420e15909af1b51.tar.gz"
|
||||
MD5SUM="86369bfd5bbe924513308dc3e243a3ff"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES=""
|
||||
|
|
Loading…
Reference in New Issue