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=5e1d9e2625842dddb3f9c086a50f22e4f45dfc2b
24 source=(git+https://github.com/benhoyt/inih.git#tag=${_tag})
29 git describe --tags | sed 's/^r//'
33 arch-meson inih build \
34 -Ddefault_library=shared \
35 -Ddistro_install=true \
37 meson compile -C build
41 DESTDIR="$pkgdir" meson install -C build
42 install -Dm 644 inih/LICENSE.txt -t "${pkgdir}"/usr/share/licenses/libinih/