aboutsummaryrefslogtreecommitdiff
path: root/libraries/pangox-compat
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2022-04-19 21:26:25 -0400
committerB. Watson <yalhcru@gmail.com>2022-04-19 21:26:25 -0400
commit3bfa12fcadfb230e19be1ddb2f4bfe6a9ee0952d (patch)
tree997850d98dfd2d8e78eaa16ccd9a593fb2e3b52b /libraries/pangox-compat
parent2724c4d7dd40d2d7d303a18e9b2be579ac2fa259 (diff)
libraries/pangox-compat: Fix docs.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'libraries/pangox-compat')
-rw-r--r--libraries/pangox-compat/pangox-compat.SlackBuild16
1 files changed, 9 insertions, 7 deletions
diff --git a/libraries/pangox-compat/pangox-compat.SlackBuild b/libraries/pangox-compat/pangox-compat.SlackBuild
index 50e720cdbcb7d..8558c8649efd0 100644
--- a/libraries/pangox-compat/pangox-compat.SlackBuild
+++ b/libraries/pangox-compat/pangox-compat.SlackBuild
@@ -22,11 +22,15 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220419 bkw: Modified by SlackBuilds.org, BUILD=3:
+# - add SlackBuild to doc dir.
+# - remove useless INSTALL from doc dir.
+
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=pangox-compat
VERSION=${VERSION:-20150430_edb9e09}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -38,9 +42,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# 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
@@ -75,9 +76,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 {} \+
# Apply upstream patches
for i in $CWD/patches/*.patch ; do patch -p1 < $i ; done
@@ -125,7 +126,8 @@ if [ -d $PKG/usr/man ]; then
fi
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a [A-Z]* $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+cp -a AUTHORS COPYING ChangeLog NEWS README $PKG/usr/doc/$PRGNAM-$VERSION
rm -f $PKG/usr/lib*/*.la