From a1e399a8377e70ce3749affb10d4df96437cfa9b Mon Sep 17 00:00:00 2001 From: EnumDev Date: Sat, 13 Jun 2026 20:00:31 +0300 Subject: [PATCH] Switch to new package format --- pkg.info => info.yml | 2 +- source.sh => recipe.sh | 7 +++---- 2 files changed, 4 insertions(+), 5 deletions(-) rename pkg.info => info.yml (97%) rename source.sh => recipe.sh (86%) diff --git a/pkg.info b/info.yml similarity index 97% rename from pkg.info rename to info.yml index 2767cfa..e77416a 100644 --- a/pkg.info +++ b/info.yml @@ -1,7 +1,7 @@ name: mpc description: Library for the arithmetic of complex numbers with arbitrarily high precision version: 1.4.1 -revision: 1 +revision: 2 url: https://www.multiprecision.org/ license: GPL2-or-later maintainers: diff --git a/source.sh b/recipe.sh similarity index 86% rename from source.sh rename to recipe.sh index c57c1db..8da6424 100644 --- a/source.sh +++ b/recipe.sh @@ -1,4 +1,4 @@ -# This is the source.sh script. It is executed by BPM in a temporary directory when compiling a source package +# This is the recipe.sh script. It is executed by BPM in a temporary directory when compiling a source package # 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 @@ -6,8 +6,7 @@ # This function is used to compile the source code build() { ./configure --prefix=/usr \ - --disable-static \ - --docdir=/usr/share/doc/mpc + --disable-static make make html } @@ -25,5 +24,5 @@ package() { make DESTDIR="$BPM_OUTPUT" install-html # Install package license - install -Dm644 COPYING.LESSER "$BPM_OUTPUT"/usr/share/licenses/mpc/COPYING.LESSER + install -Dm644 COPYING.LESSER "$BPM_OUTPUT"/usr/share/licenses/mpc/COPYING }