mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-10 03:01:44 +01:00
36 lines
807 B
Plaintext
36 lines
807 B
Plaintext
# Contributor: Jakub Jirutka <jakub@jirutka.cz>
|
|
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
|
|
pkgname=c-ini
|
|
pkgver=1.0.0
|
|
pkgrel=1
|
|
pkgdesc="Ini-File Handling"
|
|
url="https://github.com/c-util/c-ini"
|
|
arch="all"
|
|
license="Apache-2.0 OR LGPL-2.1-or-later"
|
|
makedepends="
|
|
c-list-dev~=3
|
|
c-rbtree-dev~=3
|
|
c-stdaux-dev~=1
|
|
c-utf8-dev~=1
|
|
meson
|
|
"
|
|
subpackages="$pkgname-dev"
|
|
source="https://github.com/c-util/c-ini/archive/v$pkgver/c-ini-$pkgver.tar.gz"
|
|
|
|
build() {
|
|
abuild-meson . output
|
|
meson compile -C output
|
|
}
|
|
|
|
check() {
|
|
meson test --no-rebuild --print-errorlogs -C output
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" meson install --no-rebuild -C output
|
|
}
|
|
|
|
sha512sums="
|
|
d0d01c153b6d4e37aa70df6004b3cd76f6d22a1b2f7a1fca130a16e238ca623404ad7de637206b8081bb04ed1e87efdf45125b249d1ddef2a939149a1f4fae31 c-ini-1.0.0.tar.gz
|
|
"
|