Update package version to 2.9.0
This commit is contained in:
@@ -0,0 +1,12 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Git repository
|
||||||
|
REPO="https://git.kernel.org/pub/scm/linux/kernel/git/legion/kbd.git"
|
||||||
|
|
||||||
|
# Get tag name using 'git ls-remote'
|
||||||
|
TAG_NAME=$(git ls-remote --exit-code --refs --tags --sort='v:refname' "$REPO" | cut -d'/' -f3 | grep -E 'v[0-9]{1,}\.[0-9]{1,}(\.[0-9]{1,})?$' | tail -n1)
|
||||||
|
|
||||||
|
# Trim 'v' character in TAG_NAME variable
|
||||||
|
VERSION=$(echo "$TAG_NAME" | tr -d 'v')
|
||||||
|
|
||||||
|
echo "$VERSION"
|
||||||
@@ -1,7 +1,6 @@
|
|||||||
name: kbd
|
name: kbd
|
||||||
description: Keytable files and keyboard utilities
|
description: Keytable files and keyboard utilities
|
||||||
version: 2.6.4
|
version: 2.9.0
|
||||||
revision: 3
|
|
||||||
url: https://kbd-project.org/
|
url: https://kbd-project.org/
|
||||||
license: GPL
|
license: GPL
|
||||||
architecture: any
|
architecture: any
|
||||||
|
|||||||
@@ -19,16 +19,10 @@ build() {
|
|||||||
sed -i '/RESIZECONS_PROGS=/s/yes/no/' configure
|
sed -i '/RESIZECONS_PROGS=/s/yes/no/' configure
|
||||||
sed -i 's/resizecons.8 //' docs/man/man8/Makefile.in
|
sed -i 's/resizecons.8 //' docs/man/man8/Makefile.in
|
||||||
|
|
||||||
./configure --prefix=/usr --sysconfdir=/etc --datadir=/usr/share/kbd
|
./configure --prefix=/usr --sysconfdir=/etc --datadir=/usr/share/kbd --disable-tests
|
||||||
make
|
make
|
||||||
}
|
}
|
||||||
|
|
||||||
# The check function is executed in the source directory
|
|
||||||
# This function is used to run tests to verify the package has been compiled correctly
|
|
||||||
check() {
|
|
||||||
make check
|
|
||||||
}
|
|
||||||
|
|
||||||
# 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() {
|
||||||
|
|||||||
Reference in New Issue
Block a user