summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Edinaldo P. Silva <edps.mundognu@gmail.com>2023-02-02 19:38:42 +0000
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2023-02-04 07:19:55 +0700
commita92e2902961433fe40c0583e52e6e6c9df3596ac (patch)
tree313965305391f11834397eb3029be65826ebf80e
parent2042b9f3c8a723061acc404a912a48ad86dbdd5b (diff)
downloadslackbuilds-a92e2902961433fe40c0583e52e6e6c9df3596ac.tar.gz
slackbuilds-a92e2902961433fe40c0583e52e6e6c9df3596ac.tar.xz
system/localepurge: Update script. Fix CACHEDIR.
Signed-off-by: bedlam <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--system/localepurge/localepurge.SlackBuild9
1 files changed, 4 insertions, 5 deletions
diff --git a/system/localepurge/localepurge.SlackBuild b/system/localepurge/localepurge.SlackBuild
index 1dac37dfc4..47f29bf629 100644
--- a/system/localepurge/localepurge.SlackBuild
+++ b/system/localepurge/localepurge.SlackBuild
@@ -2,7 +2,7 @@
#
# Slackware build script for localepurge.
#
-# Copyright 2016-2021 Edinaldo P. Silva, Rio de Janeiro, Brazil.
+# Copyright 2016-2023 Edinaldo P. Silva, Rio de Janeiro, Brazil.
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -30,7 +30,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=localepurge
VERSION=${VERSION:-0.7.3.10}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -60,14 +60,13 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
-install -D -m755 usr/sbin/localepurge $PKG/usr/bin/localepurge
+install -D -m755 usr/sbin/localepurge $PKG/usr/sbin/localepurge
install -D -m644 debian/localepurge.8 $PKG/usr/man/man8/localepurge.8
-install -D -m755 debian/localepurge.config $PKG/usr/bin/localepurge-config
install -D -m644 $CWD/locale.nopurge $PKG/etc/locale.nopurge.new
gzip $PKG/usr/man/man*/*
-CACHEDIR=$PKG/var/cache/localepurge/localelist
+CACHEDIR=$PKG/var/cache/localepurge
mkdir -p $CACHEDIR
find /usr/share/locale -maxdepth 1 -type d -name "*" -printf "%f\n" | \