Simplify source.sh script

This commit is contained in:
2025-05-10 16:23:16 +03:00
parent 56f061c272
commit a7dbcddf11
3 changed files with 21 additions and 3 deletions
+5 -2
View File
@@ -29,8 +29,11 @@ check() {
# This function is used to move the compiled files into the output directory
package() {
make DESTDIR="$BPM_OUTPUT" install
# Make symlinks
ln -sv flex "$BPM_OUTPUT"/usr/bin/lex
ln -sv flex.1 "$BPM_OUTPUT"/usr/share/man/man1/lex.1
mkdir -p "$BPM_OUTPUT"/usr/share/licenses/flex
cp COPYING "$BPM_OUTPUT"/usr/share/licenses/flex
# Install package license
install -Dm755 COPYING "$BPM_OUTPUT"/usr/share/licenses/flex/COPYING
}