Update package version to 2.5.12
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Git repository
|
||||
REPO="git://git.gnupg.org/gnupg.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 '^gnupg-[0-9]{1,}\.[0-9]{1,}\.[0-9]{1,}' | tail -n1)
|
||||
|
||||
# Trim prefix
|
||||
VERSION=${TAG_NAME//gnupg-/}
|
||||
|
||||
echo "$VERSION"
|
||||
@@ -1,8 +1,9 @@
|
||||
name: gnupg
|
||||
description: Complete and free implementation of the OpenPGP standard
|
||||
version: 2.4.5
|
||||
version: 2.5.12
|
||||
url: https://www.gnupg.org/
|
||||
license: BSD-2-Clause,BSD-3-Clause,BSD-4-Clause,CC0-1.0,GPL2-or-later,GPL3-or-later,LGPL2.1-or-later,LGPL3-or-later or GPL2-or-later,MIT,Unicode-TOU
|
||||
architecture: any
|
||||
depends: ["bzip2","glibc","gnutls","gnutls","libassuan","libgcrypt","libgpg-error","libksba","npth","pinentry","readline","bash","sqlite","zlib"]
|
||||
depends: ["bzip2","glibc","gnutls","libassuan","libgcrypt","libgpg-error","libksba","libusb","npth","pinentry","readline","openldap","sqlite","zlib"]
|
||||
make_depends: ["imagemagick","librsvg","openssh"]
|
||||
type: source
|
||||
|
||||
@@ -26,6 +26,7 @@ build() {
|
||||
# This function is used to run tests to verify the package has been compiled correctly
|
||||
check() {
|
||||
cd build
|
||||
|
||||
make check
|
||||
}
|
||||
|
||||
@@ -33,8 +34,10 @@ check() {
|
||||
# This function is used to move the compiled files into the output directory
|
||||
package() {
|
||||
cd build
|
||||
|
||||
make DESTDIR="$BPM_OUTPUT" install
|
||||
|
||||
# Install package licenses
|
||||
install -Dm644 "$BPM_SOURCE"/COPYING.CC0 "$BPM_OUTPUT"/usr/share/licenses/gnupg/COPYING.CC0
|
||||
install -Dm644 "$BPM_SOURCE"/COPYING.GPL2 "$BPM_OUTPUT"/usr/share/licenses/gnupg/COPYING.GPL2
|
||||
install -Dm644 "$BPM_SOURCE"/COPYING.LGPL3 "$BPM_OUTPUT"/usr/share/licenses/gnupg/COPYING.LGPL3
|
||||
|
||||
Reference in New Issue
Block a user