From 872a3a44666f80852f17bd388fa579441e9682be Mon Sep 17 00:00:00 2001 From: Eric Hameleers Date: Tue, 26 May 2020 13:29:10 +0200 Subject: Change remaining PRGNAM -> PKGNAM variables --- deps/noto-font-ttf/noto-font-ttf.SlackBuild | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'deps/noto-font-ttf/noto-font-ttf.SlackBuild') diff --git a/deps/noto-font-ttf/noto-font-ttf.SlackBuild b/deps/noto-font-ttf/noto-font-ttf.SlackBuild index e9807a2..d9f28af 100755 --- a/deps/noto-font-ttf/noto-font-ttf.SlackBuild +++ b/deps/noto-font-ttf/noto-font-ttf.SlackBuild @@ -24,7 +24,7 @@ # ----------------------------------------------------------------------------- -PRGNAM=noto-font-ttf +PKGNAM=noto-font-ttf SRCNAM=noto-fonts SRCVER=${SRCVER:-"2015-09-29"} VERSION=$(echo $SRCVER | tr - _) @@ -33,7 +33,7 @@ BUILD=${BUILD:-2} CWD=$(pwd) TMP=${TMP:-/tmp} -PKG=$TMP/package-$PRGNAM +PKG=$TMP/package-$PKGNAM rm -rf $PKG mkdir -p $TMP $PKG @@ -51,9 +51,9 @@ fi mkdir -p $PKG$FONTDIR cd $TMP -rm -rf ${PRGNAM}-${SRCVER} -mkdir ${PRGNAM}-${SRCVER} -cd ${PRGNAM}-${SRCVER} +rm -rf ${PKGNAM}-${SRCVER} +mkdir ${PKGNAM}-${SRCVER} +cd ${PKGNAM}-${SRCVER} tar xvf $CWD/${SRCNAM}-${SRCVER}-license-adobe.tar.gz || exit 1 chown -R root:root . find . \ @@ -82,10 +82,10 @@ fi EOT # Add documentation: -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +mkdir -p $PKG/usr/doc/$PKGNAM-$VERSION cp -a \ FAQ.md LICENSE README.md \ - $PKG/usr/doc/$PRGNAM-$VERSION + $PKG/usr/doc/$PKGNAM-$VERSION find $PKG/usr/doc -type f -exec chmod 644 {} \; # Add a package description: @@ -94,5 +94,5 @@ cat $CWD/slack-desc > $PKG/install/slack-desc # Build the package: cd $PKG -/sbin/makepkg -l y -c n $TMP/${PRGNAM}-${VERSION}-${ARCH}-${BUILD}.txz +/sbin/makepkg -l y -c n $TMP/${PKGNAM}-${VERSION}-${ARCH}-${BUILD}.txz -- cgit v1.2.3-65-gdbad