diff --git a/pkg.info b/pkg.info index a6fa54f..7f65ea8 100644 --- a/pkg.info +++ b/pkg.info @@ -1,9 +1,11 @@ name: dmidecode description: Reports information about your system's hardware as described in your system BIOS according to the SMBIOS/DMI standard version: "3.7" -revision: 1 +revision: 2 url: https://www.nongnu.org/dmidecode/ license: GPL2-or-later +maintainers: + - enumdev@enumerated.dev architecture: any type: source depends: diff --git a/source.sh b/source.sh index 19b8d07..9f486ca 100644 --- a/source.sh +++ b/source.sh @@ -5,13 +5,13 @@ # The build function is executed in the source directory # This function is used to compile the source code build() { - make CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" + make prefix=/usr CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" } # The package function is executed in the source directory # This function is used to move the compiled files into the output directory package() { - make DESTDIR="$BPM_OUTPUT" install + make prefix=/usr DESTDIR="$BPM_OUTPUT" install # Install package license install -Dm644 "$BPM_SOURCE"/LICENSE "$BPM_OUTPUT"/usr/share/licenses/dmidecode/LICENSE