Update package version to 4.24
This commit is contained in:
@@ -0,0 +1,9 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Github repository
|
||||||
|
REPO="i3/i3"
|
||||||
|
|
||||||
|
# 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"/tags | jq -r '.[].name' | grep -E '^[0-9]' | head -n1)
|
||||||
|
|
||||||
|
echo "$TAG_NAME"
|
||||||
@@ -1,10 +1,10 @@
|
|||||||
name: i3
|
name: i3
|
||||||
description: Improved tiling window manager
|
description: Improved tiling window manager
|
||||||
version: 4.23
|
version: 4.24
|
||||||
url: https://i3wm.org/
|
url: https://i3wm.org/
|
||||||
license: BSD
|
license: BSD
|
||||||
architecture: any
|
architecture: any
|
||||||
depends: ["libev","libxkbcommon","pango","ttf-font","startup-notification","xcb-util-cursor","xcb-util-image","xcb-util-keysyms","xcb-util-wm","xcb-util-xrm","yajl"]
|
depends: ["libev","libxkbcommon","pango","ttf-font","startup-notification","xcb-util-cursor","xcb-util-image","xcb-util-keysyms","xcb-util-wm","xcb-util-xrm","yajl"]
|
||||||
optional_depends: ["dmenu","i3-lock","i3-status","rofi","xss-lock"]
|
optional_depends: ["dmenu","i3-lock","i3-status","rofi","xss-lock"]
|
||||||
make_depends: ["meson","xmlto"]
|
make_depends: ["asciidoc","meson","xmlto"]
|
||||||
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
|
meson setup --prefix=/usr -Ddocs=true -Dmans=true build
|
||||||
cd build
|
meson compile -C build
|
||||||
|
|
||||||
meson setup --prefix=/usr ..
|
|
||||||
ninja
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# 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
|
meson install -C build --destdir="$BPM_OUTPUT"
|
||||||
DESTDIR="$BPM_OUTPUT" ninja install
|
|
||||||
|
|
||||||
install -Dm644 ../LICENSE "$BPM_OUTPUT"/usr/share/licenses/i3/LICENSE
|
# Install package license
|
||||||
|
install -Dm644 "$BPM_SOURCE"/LICENSE "$BPM_OUTPUT"/usr/share/licenses/i3/LICENSE
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user