[arch-commits] Commit in libinih/repos (extra-x86_64 extra-x86_64/PKGBUILD)
Maxime Gauduin
alucryd at gemini.archlinux.org
Tue Apr 26 16:25:04 UTC 2022
Date: Tuesday, April 26, 2022 @ 16:25:04
Author: alucryd
Revision: 444032
archrelease: copy trunk to extra-x86_64
Added:
libinih/repos/extra-x86_64/
libinih/repos/extra-x86_64/PKGBUILD
(from rev 444031, libinih/trunk/PKGBUILD)
----------+
PKGBUILD | 45 +++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 45 insertions(+)
Copied: libinih/repos/extra-x86_64/PKGBUILD (from rev 444031, libinih/trunk/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD (rev 0)
+++ extra-x86_64/PKGBUILD 2022-04-26 16:25:04 UTC (rev 444032)
@@ -0,0 +1,45 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: Alberto Oporto Ames <otreblain at gmail.com>
+
+pkgname=libinih
+pkgver=55
+pkgrel=2
+pkgdesc='A simple .INI file parser written in C'
+arch=(x86_64)
+url=https://github.com/benhoyt/inih
+license=(BSD)
+depends=(
+ gcc-libs
+ glibc
+)
+makedepends=(
+ git
+ meson
+)
+provides=(
+ libinih.so
+ libINIReader.so
+)
+_tag=f7f69c6cff2681d84bae371130b4a018cb2171e6
+source=(git+https://github.com/benhoyt/inih.git#tag=${_tag})
+b2sums=(SKIP)
+
+pkgver() {
+ cd inih
+ git describe --tags | sed 's/^r//'
+}
+
+build() {
+ arch-meson inih build \
+ -Ddefault_library=shared \
+ -Ddistro_install=true \
+ -Dwith_INIReader=true
+ meson compile -C build
+}
+
+package() {
+ DESTDIR="$pkgdir" meson install -C build
+ install -Dm 644 inih/LICENSE.txt -t "${pkgdir}"/usr/share/licenses/libinih/
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list