Update package version to 4.4.38
This commit is contained in:
@@ -0,0 +1,15 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Github repository
|
||||||
|
REPO="besser82/libxcrypt"
|
||||||
|
|
||||||
|
# Get tag name using Github Rest API
|
||||||
|
TAG_NAME=$(curl -s -L -H "Accept: application/vnd.github+json" -H "X-GitHub-Api-Version: 2022-11-28" https://api.github.com/repos/"$REPO"/releases/latest | jq -r '.tag_name')
|
||||||
|
|
||||||
|
# Get version number from tag name
|
||||||
|
VERSION=$(echo "$TAG_NAME" | rev | cut -d'-' -f1 | rev)
|
||||||
|
|
||||||
|
# Trim 'v' character in VERSION variable
|
||||||
|
VERSION=$(echo "$VERSION" | tr -d 'v')
|
||||||
|
|
||||||
|
echo "$VERSION"
|
||||||
@@ -1,10 +1,8 @@
|
|||||||
name: libxcrypt
|
name: libxcrypt
|
||||||
description: One-way password hashing library
|
description: One-way password hashing library
|
||||||
version: 4.4.36
|
version: 4.4.38
|
||||||
revision: 2
|
|
||||||
url: https://github.com/besser82/libxcrypt/
|
url: https://github.com/besser82/libxcrypt/
|
||||||
license: LGPL
|
license: LGPL2.1-or-later
|
||||||
architecture: any
|
architecture: any
|
||||||
depends: ["glibc"]
|
depends: ["glibc"]
|
||||||
make_depends: ["bash","binutils","coreutils","diffutils","gawk","gcc","glibc","grep","make","perl","sed"]
|
|
||||||
type: source
|
type: source
|
||||||
|
|||||||
@@ -33,4 +33,7 @@ check() {
|
|||||||
# 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() {
|
||||||
make DESTDIR="$BPM_OUTPUT" install
|
make DESTDIR="$BPM_OUTPUT" install
|
||||||
|
|
||||||
|
# Install package license
|
||||||
|
install -Dm644 "$BPM_SOURCE"/COPYING.LIB "$BPM_OUTPUT"/usr/share/licenses/libxcrypt/COPYING.LIB
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user