[arch-commits] Commit in libinih/repos (testing-x86_64 testing-x86_64/PKGBUILD)

Maxime Gauduin alucryd at archlinux.org
Thu Mar 18 08:15:33 UTC 2021


    Date: Thursday, March 18, 2021 @ 08:15:33
  Author: alucryd
Revision: 410207

archrelease: copy trunk to testing-x86_64

Added:
  libinih/repos/testing-x86_64/
  libinih/repos/testing-x86_64/PKGBUILD
    (from rev 410206, libinih/trunk/PKGBUILD)

----------+
 PKGBUILD |   50 ++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 50 insertions(+)

Copied: libinih/repos/testing-x86_64/PKGBUILD (from rev 410206, libinih/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2021-03-18 08:15:33 UTC (rev 410207)
@@ -0,0 +1,50 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: Alberto Oporto Ames <otreblain at gmail.com>
+
+pkgname=libinih
+pkgver=53
+pkgrel=1
+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=cb55f57d87ae840bd0f65dbe6bd22fa021a873a7
+source=(git+https://github.com/benhoyt/inih.git#tag=${_tag})
+b2sums=(SKIP)
+
+prepare() {
+  cd inih
+  git cherry-pick -n 32519ea045670fbd9a057a9c48f77d7b473ce53b
+}
+
+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