diff options
author | Edinaldo P. Silva <edps.mundognu@gmail.com> | 2017-06-21 21:54:36 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-06-24 08:32:17 +0700 |
commit | 4305d37a30acf9d25b3db73a3ca51277a2a3d2c4 (patch) | |
tree | c8a9937385556f52be3d3f9edb9f6b7f57cf820c /system/noto-fonts/noto-fonts.SlackBuild | |
parent | 22b9f96672846a04869b9e44e3faf6461a216467 (diff) | |
download | slackbuilds-4305d37a30acf9d25b3db73a3ca51277a2a3d2c4.tar.gz |
system/noto-fonts: Updated for version 20170428.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/noto-fonts/noto-fonts.SlackBuild')
-rw-r--r-- | system/noto-fonts/noto-fonts.SlackBuild | 22 |
1 files changed, 9 insertions, 13 deletions
diff --git a/system/noto-fonts/noto-fonts.SlackBuild b/system/noto-fonts/noto-fonts.SlackBuild index f1f4f70a54..5973ce2837 100644 --- a/system/noto-fonts/noto-fonts.SlackBuild +++ b/system/noto-fonts/noto-fonts.SlackBuild @@ -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 |