summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author B. Watson <yalhcru@gmail.com>2022-04-15 11:31:31 -0400
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2022-04-16 12:11:29 +0700
commit207e1ee5d5141b76f0a5c0661fda1989ce6c42ba (patch)
treed3f6e97954ecb7fd3976c9ce387c2bc0ead1ccea
parentf70e4f1c31f0f58ddcb8fdc66ccf523ecb5d46ee (diff)
downloadslackbuilds-207e1ee5d5141b76f0a5c0661fda1989ce6c42ba.tar.gz
slackbuilds-207e1ee5d5141b76f0a5c0661fda1989ce6c42ba.tar.xz
development/fpc: Clean up /usr/bin dir.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--development/fpc/fpc.SlackBuild8
1 files changed, 8 insertions, 0 deletions
diff --git a/development/fpc/fpc.SlackBuild b/development/fpc/fpc.SlackBuild
index a15a542a78..198ada8c3f 100644
--- a/development/fpc/fpc.SlackBuild
+++ b/development/fpc/fpc.SlackBuild
@@ -23,6 +23,9 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220415 bkw: BUILD=2
+# - remove *.rsj files from /usr/bin.
+
# 20210904 bkw:
# - take over maintenance.
# - update for v3.2.2.
@@ -136,6 +139,11 @@ mv $PKG/usr/share/doc $PKG/usr/doc
rmdir $PKG/usr/share
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+# 20220415 bkw: compiled pascal programs don't use .rsj files at
+# runtime. see https://wiki.lazarus.freepascal.org/Using_resourcestrings
+# and note that there are no *.mo files in this package.
+rm -f $PKG/usr/bin/*.rsj
+
# 20210905 bkw: fancier than the template, but quite a bit faster and less
# resource-intensive.
find $PKG -type f -a -perm /111 | \