Skip to content

Commit

Permalink
libinih: update to 58
Browse files Browse the repository at this point in the history
  • Loading branch information
Biswa96 committed Feb 19, 2024
1 parent 3495dfb commit a5098a2
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions libinih/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand All @@ -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 \
Expand Down

0 comments on commit a5098a2

Please sign in to comment.