aports/main/dmidecode/APKBUILD
Celeste bf5eb2a5ad main/dmidecode: upgrade to 3.6
also, add -bash-completion subpackage

`bash-completion-dev` is required for the Makefile to get
the correct bash completion directory, and `bash-completion`
is required as the Makefile tests for the existence of that
directory, before actually installing the bash completion files.
2024-04-26 13:20:32 +00:00

29 lines
786 B
Text

# Maintainer: Nathan Angelacos <nangel@alpinelinux.org>
pkgname=dmidecode
pkgver=3.6
pkgrel=0
pkgdesc="A utility for reporting system hardware as described by BIOS"
url="https://nongnu.org/dmidecode"
arch="all"
license="GPL-2.0-or-later"
makedepends="bash-completion bash-completion-dev"
options="!check" # No testsuite
subpackages="$pkgname-doc $pkgname-bash-completion"
source="https://download.savannah.gnu.org/releases/dmidecode/dmidecode-$pkgver.tar.xz"
prepare() {
default_prepare
sed -e '/^PROGRAMS !=/d' -i Makefile
}
build() {
make prefix=/usr
}
package() {
make prefix=/usr DESTDIR="$pkgdir" install
}
sha512sums="
b1e47a2121062581876ba2daf3ce80b1c39612d078718609b8bc97d4e7a4b47427200502468b5d71f0d0dcb5ba299fb2e808791b62dc5b50e67acac60c51a461 dmidecode-3.6.tar.xz
"