diff --git a/pkg.info b/pkg.info index 4fdb0c8..37f0050 100644 --- a/pkg.info +++ b/pkg.info @@ -1,6 +1,6 @@ name: bind 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/ license: MPL2 architecture: any diff --git a/source.sh b/source.sh index a9d6113..0619f88 100644 --- a/source.sh +++ b/source.sh @@ -15,19 +15,15 @@ prepare() { # The build function is executed in the source directory # This function is used to compile the source code build() { - mkdir build - cd build - - meson setup --prefix=/usr - meson compile + meson setup --prefix=/usr build + meson compile -C build } # The package function is executed in the source directory # This function is used to move the compiled files into the output directory package() { - cd build - - meson install --destdir="$BPM_OUTPUT" + meson install -C build --destdir="$BPM_OUTPUT" + # Install package license install -Dm644 "$BPM_SOURCE"/{LICENSE,COPYRIGHT} -t "$BPM_OUTPUT"/usr/share/licenses/bind/ }