🔒 Repository is read-only – file editing is disabled.

recipes/core/inih/PAGBUILD.yaml main

32 linii Raw ← Powrót
1234567891011121314151617181920212223242526272829303132
pkgname: inih
pkgver: '62'
pkgrel: '1'
pkgdesc: A simple .INI file parser written in C
url: 'https://github.com/benhoyt/inih'
arch: x86_64
depends: []
makedepends:
- meson
- ninja
- python
source:
- 'https://github.com/benhoyt/inih/archive/refs/tags/r${pkgver}.tar.gz'
sha256sums:
- 9c15fa751bb8093d042dae1b9f125eb45198c32c6704cd5481ccde460d4f8151
build: |
  mv ${pkgname}-r${pkgver} ${pkgname}-${pkgver}
  cd ${pkgname}-${pkgver}

  mkdir build
  cd build

    meson setup .. \
    --prefix=/usr \
    --buildtype=release      \
    -Ddefault_library=shared \
    -Ddistro_install=true

    ninja
    DESTDIR=${PKGDIR} ninja install
package: |
  true