Simplify source.sh script
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user