diff options
author | B. Watson <yalhcru@gmail.com> | 2022-04-09 14:03:46 -0400 |
---|---|---|
committer | B. Watson <yalhcru@gmail.com> | 2022-04-09 14:03:46 -0400 |
commit | bff8adaeaae85d92b05bc1fb0ef42a9ebf952354 (patch) | |
tree | e63bdccff09623192e0e858459c933baf6821ad1 | |
parent | 1cecbc5f371d4682ec8ebdce1529082eab27aec2 (diff) | |
download | slackbuilds-bff8adaeaae85d92b05bc1fb0ef42a9ebf952354.tar.gz |
system/culmus: Fix ARCH, docs.
Signed-off-by: B. Watson <yalhcru@gmail.com>
-rw-r--r-- | system/culmus/culmus.SlackBuild | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/system/culmus/culmus.SlackBuild b/system/culmus/culmus.SlackBuild index 6c80f1be75..d3d5da8a77 100644 --- a/system/culmus/culmus.SlackBuild +++ b/system/culmus/culmus.SlackBuild @@ -24,19 +24,21 @@ # This script does not build anything, it only repackages the culmus fonts # into a slackware package +# 20220409 bkw: Modified by SlackBuilds.org, BUILD=4: +# - ignore ARCH in environment (generally it's set to x86_64 or i686, +# which is wrong for this build). +# - add SlackBuild to doc dir. + cd $(dirname $0) ; CWD=$(pwd) PRGNAM=culmus VERSION=${VERSION:-0.130} -BUILD=${BUILD:-3} +BUILD=${BUILD:-4} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} -ARCH=${ARCH:-noarch} +ARCH=noarch -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 @@ -57,9 +59,9 @@ cd $PRGNAM-$VERSION chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ - -o -perm 511 \) -exec chmod 755 {} \; -o \ + -o -perm 511 \) -exec chmod 755 {} \+ -o \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+ mkdir -p $PKG/usr/share/fonts/TTF/ cp *.ttf $PKG/usr/share/fonts/TTF/ @@ -76,6 +78,7 @@ ln -sf ../conf.avail/61-culmus.conf $PKG/etc/fonts/conf.d mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a CHANGES GNU-GPL LICENSE LICENSE-BITSTREAM $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc |