Update package version to 3.9.0
This commit is contained in:
@@ -0,0 +1,9 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Github repository
|
||||||
|
REPO="ice-wm/icewm"
|
||||||
|
|
||||||
|
# Get tag name using Github Rest API
|
||||||
|
TAG_NAME=$(curl -s -L -H "X-GitHub-Api-Version: 2022-11-28" -H "Authorization: token ${GITHUB_API_TOKEN}" https://api.github.com/repos/"$REPO"/releases/latest | jq -r '.tag_name')
|
||||||
|
|
||||||
|
echo "$TAG_NAME"
|
||||||
@@ -1,10 +1,10 @@
|
|||||||
name: icewm
|
name: icewm
|
||||||
description: An X window manager focusing on speed, simplicity, and not getting in the user’s way
|
description: An X window manager focusing on speed, simplicity, and not getting in the user’s way
|
||||||
version: 3.6.0
|
version: 3.9.0
|
||||||
url: https://ice-wm.org/
|
url: https://ice-wm.org/
|
||||||
license: LGPL2-only
|
license: LGPL2-only
|
||||||
architecture: any
|
architecture: any
|
||||||
depends: ["alsa-lib","imlib2","librsvg","libsndfile","libxcomposite","libxdamage","libxinerama","libxpm","libxrandr"]
|
depends: ["alsa-lib","imlib2","librsvg","libsm","libsndfile","libxcomposite","libxcursor","libxdamage","libxinerama","libxrandr"]
|
||||||
optional_depends: ["perl"]
|
optional_depends: ["perl"]
|
||||||
make_depends: ["cmake","xorg-mkfontscale"]
|
make_depends: ["asciidoctor","cmake","xorg-mkfontscale"]
|
||||||
type: source
|
type: source
|
||||||
|
|||||||
@@ -15,18 +15,15 @@ prepare() {
|
|||||||
# The build function is executed in the source directory
|
# The build function is executed in the source directory
|
||||||
# This function is used to compile the source code
|
# This function is used to compile the source code
|
||||||
build() {
|
build() {
|
||||||
mkdir build
|
cmake -B build -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DCFGDIR=/etc -DENABLE_LTO=ON
|
||||||
cd build
|
cmake --build build
|
||||||
|
|
||||||
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DCFGDIR=/etc -DENABLE_LTO=ON ..
|
|
||||||
make
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# The package function is executed in the source directory
|
# The package function is executed in the source directory
|
||||||
# This function is used to move the compiled files into the output directory
|
# This function is used to move the compiled files into the output directory
|
||||||
package() {
|
package() {
|
||||||
cd build
|
DESTDIR="$BPM_OUTPUT" cmake --install build
|
||||||
make DESTDIR="$BPM_OUTPUT" install
|
|
||||||
|
|
||||||
|
# Install package license
|
||||||
install -Dm644 "$BPM_SOURCE"/COPYING "$BPM_OUTPUT"/usr/share/licenses/icewm/COPYING
|
install -Dm644 "$BPM_SOURCE"/COPYING "$BPM_OUTPUT"/usr/share/licenses/icewm/COPYING
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user