libinih: update to 58

This commit is contained in:
Biswapriyo Nath 2024-02-19 09:01:06 +00:00
parent 3495dfb6ca
commit a5098a2e3e

View File

@ -2,8 +2,8 @@
pkgbase=libinih
pkgname=(libinih libinih-devel)
pkgver=57
pkgrel=2
pkgver=58
pkgrel=1
pkgdesc='A simple .INI file parser written in C'
license=('spdx:BSD-3-Clause')
url='https://github.com/benhoyt/inih'
@ -13,21 +13,17 @@ msys2_references=(
)
arch=('i686' 'x86_64')
makedepends=('gcc' 'pkgconf' 'python' 'meson' 'ninja')
source=(https://github.com/benhoyt/inih/archive/refs/tags/r${pkgver}.tar.gz
"https://patch-diff.githubusercontent.com/raw/benhoyt/inih/pull/157.patch")
sha256sums=('f03f98ca35c3adb56b2358573c8d3eda319ccd5287243d691e724b7eafa970b3'
'289c3c3ab5b30387410e42d2061a4ab5aa96e134045be280ad34f6303a8407f8')
source=(https://github.com/benhoyt/inih/archive/refs/tags/r${pkgver}.tar.gz)
sha256sums=('e79216260d5dffe809bda840be48ab0eec7737b2bb9f02d2275c1b46344ea7b7')
prepare() {
cd "${srcdir}"/inih-r${pkgver}
patch -p1 -i "${srcdir}"/157.patch
}
build() {
mkdir "${srcdir}"/build && cd "${srcdir}"/build
/usr/bin/meson \
/usr/bin/meson setup \
--wrap-mode=nodownload \
--auto-features=enabled \
--buildtype=plain \