summaryrefslogtreecommitdiff
path: root/source/l/poppler-data
diff options
context:
space:
mode:
Diffstat (limited to 'source/l/poppler-data')
-rwxr-xr-xsource/l/poppler-data/poppler-data.SlackBuild6
1 files changed, 2 insertions, 4 deletions
diff --git a/source/l/poppler-data/poppler-data.SlackBuild b/source/l/poppler-data/poppler-data.SlackBuild
index aa07f24d..1c77ed9b 100755
--- a/source/l/poppler-data/poppler-data.SlackBuild
+++ b/source/l/poppler-data/poppler-data.SlackBuild
@@ -23,22 +23,20 @@
PKGNAM=poppler-data
VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
-ARCH=${ARCH:-noarch}
+ARCH=noarch
BUILD=${BUILD:-1}
-
CWD=$(pwd)
TMP=${TMP:-/tmp}
PKG=$TMP/package-${PKGNAM}
+
rm -rf $PKG
mkdir -p $TMP $PKG
-
cd $TMP
rm -rf ${PKGNAM}-${VERSION}
tar xvf $CWD/${PKGNAM}-$VERSION.tar.?z* || exit 1
cd ${PKGNAM}-$VERSION
-# Make sure ownerships and permissions are sane:
chown -R root:root .
find . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \