Name libeconf.so.0
Description Enhanced Config File Parser
Version 0.6.3-r0
Package Base libeconf
Homepage https://github.com/openSUSE/libeconf
Maintainers ['Natanael Copa <ncopa@alpinelinux.org>']
Contributors ['Leo <thinkabit.ukim@gmail.com>']
Distro-repo https://gitlab.alpinelinux.org/alpine/aports/-/tree/3.22-stable/main/libeconf
Sources []
Dependencies []
Optional-Dependencies []
Build-Dependencies []
Provides ['so:libeconf.so.0=0.6.2', 'cmd:econftool=0.6.3-r0']
Builddate 07-05-2024 13:08:29
Architecture x86_64
Distro-Version v3.22
Licenses ['MIT']
Hash Q1GU5gIhrpYB9C9seoWe+PRHhXQV0=
# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libeconf
pkgver=0.6.3
pkgrel=0
pkgdesc="Enhanced Config File Parser"
url="https://github.com/openSUSE/libeconf"
arch="all"
license="MIT"
makedepends="meson"
checkdepends="bash"
subpackages="$pkgname-dev $pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/openSUSE/libeconf/archive/refs/tags/v$pkgver.tar.gz
	musl-tests.patch
	"

build() {
	abuild-meson -Db_lto=true . output
	meson compile -C output
}

check() {
	meson test --print-errorlogs -C output
}

package() {
	DESTDIR="$pkgdir" meson install --no-rebuild -C output
}

sha512sums="
6a177474efa03d4933c1fff85eaf159837b9c803d3be8a8e8a23c271bbcd38f5513bc30df37592721c1d139c36a698fb224be012fa947595c0e90904e22fdadb  libeconf-0.6.3.tar.gz
28431c1f80ee7815991584ef6307dabe593b4da58b9406e6f1a9cb30bfba3e925a48c83b0d3824427631bede5b1249b0c87e0d9fb55971d4ecf90805076b25dd  musl-tests.patch
"