Update package version to 9.21.12
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
name: bind
|
name: bind
|
||||||
description: A complete, highly portable implementation of the Domain Name System (DNS) protocol
|
description: A complete, highly portable implementation of the Domain Name System (DNS) protocol
|
||||||
version: 9.21.11
|
version: 9.21.12
|
||||||
url: https://www.isc.org/bind/
|
url: https://www.isc.org/bind/
|
||||||
license: MPL2
|
license: MPL2
|
||||||
architecture: any
|
architecture: any
|
||||||
|
|||||||
@@ -15,19 +15,15 @@ prepare() {
|
|||||||
# 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() {
|
||||||
mkdir build
|
meson setup --prefix=/usr build
|
||||||
cd build
|
meson compile -C build
|
||||||
|
|
||||||
meson setup --prefix=/usr
|
|
||||||
meson compile
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# 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() {
|
||||||
cd build
|
meson install -C build --destdir="$BPM_OUTPUT"
|
||||||
|
|
||||||
meson install --destdir="$BPM_OUTPUT"
|
|
||||||
|
|
||||||
|
# Install package license
|
||||||
install -Dm644 "$BPM_SOURCE"/{LICENSE,COPYRIGHT} -t "$BPM_OUTPUT"/usr/share/licenses/bind/
|
install -Dm644 "$BPM_SOURCE"/{LICENSE,COPYRIGHT} -t "$BPM_OUTPUT"/usr/share/licenses/bind/
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user