development/fpc: Clean up /usr/bin dir.

Signed-off-by: B. Watson <yalhcru@gmail.com>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
B. Watson 2022-04-15 11:31:31 -04:00 committed by Willy Sudiarto Raharjo
parent f70e4f1c31
commit 207e1ee5d5
No known key found for this signature in database
GPG key ID: 3F617144D7238786

View file

@ -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 | \