summaryrefslogtreecommitdiff
path: root/libs/inih/MAKEPKG
diff options
context:
space:
mode:
Diffstat (limited to 'libs/inih/MAKEPKG')
-rw-r--r--libs/inih/MAKEPKG32
1 files changed, 32 insertions, 0 deletions
diff --git a/libs/inih/MAKEPKG b/libs/inih/MAKEPKG
new file mode 100644
index 0000000..9067458
--- /dev/null
+++ b/libs/inih/MAKEPKG
@@ -0,0 +1,32 @@
+#!/bin/mkpkg
+# description: Simple .INI file parser library written in C
+# url: https://github.com/benhoyt/inih
+
+name=inih
+version=62
+release=2
+makedeps=(meson)
+source=(https://github.com/benhoyt/inih/archive/r$version/$name-$version.tar.gz)
+
+sha256sums=(
+ "9c15fa751bb8093d042dae1b9f125eb45198c32c6704cd5481ccde460d4f8151"
+)
+
+build() {
+ meson setup $name-r$version build \
+ --prefix=/usr \
+ --buildtype=release \
+ -D with_INIReader=false \
+ -D distro_install=true \
+ -D tests=false
+
+ meson compile -C build
+ DESTDIR=$PKG meson install -C build
+}
+
+signify() {
+ untrusted comment: public key
+ RWTZ9IduCSQ/mL8337TEUinPwT92xFEUpD92hkS7IxcOnzTt9QdpohT3
+}
+
+# vim: filetype=sh