Update package version to 3.9.0
This commit is contained in:
@@ -15,18 +15,15 @@ prepare() {
|
||||
# The build function is executed in the source directory
|
||||
# This function is used to compile the source code
|
||||
build() {
|
||||
mkdir build
|
||||
cd build
|
||||
|
||||
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DCFGDIR=/etc -DENABLE_LTO=ON ..
|
||||
make
|
||||
cmake -B build -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DCFGDIR=/etc -DENABLE_LTO=ON
|
||||
cmake --build build
|
||||
}
|
||||
|
||||
# The package function is executed in the source directory
|
||||
# This function is used to move the compiled files into the output directory
|
||||
package() {
|
||||
cd build
|
||||
make DESTDIR="$BPM_OUTPUT" install
|
||||
DESTDIR="$BPM_OUTPUT" cmake --install build
|
||||
|
||||
# Install package license
|
||||
install -Dm644 "$BPM_SOURCE"/COPYING "$BPM_OUTPUT"/usr/share/licenses/icewm/COPYING
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user