opt/inih/Pkgfile

21 lines
526 B
Plaintext
Raw Normal View History

2020-12-13 12:45:17 +01:00
# Description: Simple .INI file parser library written in C
2021-02-01 12:22:39 +01:00
# URL: https://github.com/benhoyt/inih
2020-12-13 12:45:17 +01:00
# Maintainer: CRUX System Team, core-ports at crux dot nu
2021-03-02 10:01:16 +01:00
# Depends on: meson ninja
2020-12-13 12:45:17 +01:00
name=inih
2021-03-02 10:01:16 +01:00
version=53
2020-12-13 12:45:17 +01:00
release=1
source=(https://github.com/benhoyt/inih/archive/r$version/$name-$version.tar.gz)
build() {
meson setup build $name-r$version \
--prefix=/usr \
--buildtype=release \
-D with_INIReader=true \
-D distro_install=true
meson compile -C build -j ${JOBS:-1}
DESTDIR=$PKG meson install -C build
}