Update package version to 2.2.7
This commit is contained in:
@@ -1,8 +1,15 @@
|
|||||||
name: libpaper
|
name: libpaper
|
||||||
description: Library and command-line tools for configuring and getting information on paper sizes
|
description: Library and command-line tools for configuring and getting information on paper sizes
|
||||||
version: 2.2.6
|
version: 2.2.7
|
||||||
|
revision: 1
|
||||||
url: https://github.com/rrthomas/libpaper
|
url: https://github.com/rrthomas/libpaper
|
||||||
license: MIT,LGPL2.1-or-later,Public-Domain,GPL3-or-later,GPL2-only
|
license: MIT,LGPL2.1-or-later,Public-Domain,GPL3-or-later,GPL2-only
|
||||||
architecture: any
|
architecture: any
|
||||||
depends: ["glibc"]
|
|
||||||
type: source
|
type: source
|
||||||
|
depends:
|
||||||
|
- glibc
|
||||||
|
downloads:
|
||||||
|
- url: https://github.com/rrthomas/libpaper/releases/download/v${BPM_PKG_VERSION}/libpaper-${BPM_PKG_VERSION}.tar.gz
|
||||||
|
extract_to: ${BPM_SOURCE}
|
||||||
|
extract_strip_components: 1
|
||||||
|
checksum: 3925401edf1eda596277bc2485e050b704fd7f364f257c874b0c40ac5aa627c0
|
||||||
|
|||||||
@@ -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 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
|
# BPM Expects the output files to be present in the automatically created 'output' directory which can be accessed using $BPM_OUTPUT
|
||||||
|
|
||||||
DOWNLOAD="https://github.com/rrthomas/libpaper/releases/download/v${BPM_PKG_VERSION}/libpaper-${BPM_PKG_VERSION}.tar.gz"
|
|
||||||
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
|
# 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() {
|
||||||
|
|||||||
Reference in New Issue
Block a user