diff --git a/pkg.info b/pkg.info index c82ddbf..bcb6691 100644 --- a/pkg.info +++ b/pkg.info @@ -1,9 +1,32 @@ name: gnupg description: Complete and free implementation of the OpenPGP standard -version: 2.5.12 +version: 2.5.13 +revision: 1 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","libassuan","libgcrypt","libgpg-error","libksba","libusb","npth","pinentry","readline","openldap","sqlite","zlib"] -make_depends: ["imagemagick","librsvg","openssh"] type: source +depends: + - bzip2 + - glibc + - gnutls + - libassuan + - libgcrypt + - libgpg-error + - libksba + - libusb + - npth + - pinentry + - readline + - openldap + - sqlite + - zlib +make_depends: + - imagemagick + - librsvg + - openssh +downloads: + - url: https://www.gnupg.org/ftp/gcrypt/gnupg/gnupg-${BPM_PKG_VERSION}.tar.bz2 + extract_to: ${BPM_SOURCE} + extract_strip_components: 1 + checksum: 31a92aa03525d66a5834fe8ae4aad05a9ba93e99235189f4f64e78ae32f13093 diff --git a/source.sh b/source.sh index eecf16d..c08e0bf 100644 --- a/source.sh +++ b/source.sh @@ -2,16 +2,6 @@ # BPM Expects the source code to be extracted into the automatically created 'source' directory which can be accessed using $BPM_SOURCE # BPM Expects the output files to be present in the automatically created 'output' directory which can be accessed using $BPM_OUTPUT -DOWNLOAD="https://www.gnupg.org/ftp/gcrypt/gnupg/gnupg-${BPM_PKG_VERSION}.tar.bz2" -FILENAME="${DOWNLOAD##*/}" - -# The prepare function is executed in the root of the temp directory -# This function is used for downloading files and putting them into the correct location -prepare() { - wget "$DOWNLOAD" - tar -xvf "$FILENAME" --strip-components=1 -C "$BPM_SOURCE" -} - # The build function is executed in the source directory # This function is used to compile the source code build() {