1 # Maintainer: Maxime Gauduin <alucryd@archlinux.org>
2 # Contributor: Alberto Oporto Ames <otreblain@gmail.com>
7 pkgdesc='A simple .INI file parser written in C'
9 url=https://github.com/benhoyt/inih
23 _tag=cb55f57d87ae840bd0f65dbe6bd22fa021a873a7
24 source=(git+https://github.com/benhoyt/inih.git#tag=${_tag})
29 git cherry-pick -n 32519ea045670fbd9a057a9c48f77d7b473ce53b
34 git describe --tags | sed 's/^r//'
38 arch-meson inih build \
39 -Ddefault_library=shared \
40 -Ddistro_install=true \
42 meson compile -C build
46 DESTDIR="$pkgdir" meson install -C build
47 install -Dm 644 inih/LICENSE.txt -t "${pkgdir}"/usr/share/licenses/libinih/