Update package version to 4.20.1
This commit is contained in:
@@ -1,16 +1,17 @@
|
|||||||
name: iso-codes
|
name: iso-codes
|
||||||
description: Package providing lists of various ISO standards
|
description: Package providing lists of various ISO standards
|
||||||
version: 4.19.0
|
version: 4.20.1
|
||||||
revision: 1
|
revision: 1
|
||||||
url: https://salsa.debian.org/iso-codes-team/iso-codes
|
url: https://salsa.debian.org/iso-codes-team/iso-codes
|
||||||
license: LGPL2.1
|
license: LGPL2.1-only,FSFAP
|
||||||
architecture: any
|
architecture: any
|
||||||
output_architecture: any
|
output_architecture: any
|
||||||
type: source
|
type: source
|
||||||
make_depends:
|
make_depends:
|
||||||
|
- meson
|
||||||
- python3
|
- python3
|
||||||
downloads:
|
downloads:
|
||||||
- url: https://salsa.debian.org/iso-codes-team/iso-codes/-/archive/v${BPM_PKG_VERSION}/iso-codes-v${BPM_PKG_VERSION}.tar.gz
|
- url: https://salsa.debian.org/iso-codes-team/iso-codes/-/archive/v${BPM_PKG_VERSION}/iso-codes-v${BPM_PKG_VERSION}.tar.gz
|
||||||
extract_to: ${BPM_SOURCE}
|
extract_to: ${BPM_SOURCE}
|
||||||
extract_strip_components: 1
|
extract_strip_components: 1
|
||||||
checksum: 4b143a891feb7d1bb64e44fe3ef253ef36ba1185d1d129c1425338dc6e46e27d
|
checksum: 2d7d9f6084ab9ce6c534ce71a3dd5144b6e474f3c97616459a88f73f44a64bff
|
||||||
|
|||||||
@@ -5,20 +5,21 @@
|
|||||||
# 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 codehttps://gitlab.archlinux.org/archlinux/packaging/packages/iso-codes/-/archive/4.16.0-1/iso-codes-4.16.0-1.tar.gz
|
# This function is used to compile the source codehttps://gitlab.archlinux.org/archlinux/packaging/packages/iso-codes/-/archive/4.16.0-1/iso-codes-4.16.0-1.tar.gz
|
||||||
build() {
|
build() {
|
||||||
./configure --prefix=/usr
|
meson setup build --prefix=/usr
|
||||||
make
|
meson compile -C build
|
||||||
}
|
}
|
||||||
|
|
||||||
# The check function is executed in the source directory
|
# The check function is executed in the source directory
|
||||||
# This function is used to run tests to verify the package has been compiled correctly
|
# This function is used to run tests to verify the package has been compiled correctly
|
||||||
check() {
|
check() {
|
||||||
make check
|
meson test -C build
|
||||||
}
|
}
|
||||||
|
|
||||||
# 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() {
|
||||||
make DESTDIR="$BPM_OUTPUT" install
|
meson install -C build --destdir="$BPM_OUTPUT"
|
||||||
|
|
||||||
install -Dm644 COPYING "$BPM_OUTPUT"/usr/share/licenses/iso-codes/COPYING
|
# Install package license
|
||||||
|
install -Dm644 "$BPM_SOURCE"/LICENSES/* -t "$BPM_OUTPUT"/usr/share/licenses/iso-codes
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user