blob: 4ef799aa68b0cadcf39489896c926923f3cd8496 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
# Maintainer: Thomas Weißschuh <thomas t-8ch de>
pkgname=libeconf
pkgver=0.7.4
pkgrel=1
pkgdesc="Enhanced config file parser, which merges config files placed in several locations into one."
arch=(x86_64)
url="https://opensuse.github.io/libeconf/"
license=('MIT')
depends=()
makedepends=(meson)
source=("$pkgname-$pkgver.tar.gz::https://github.com/openSUSE/${pkgname}/archive/refs/tags/v${pkgver}.tar.gz")
sha256sums=('4174ca94e958cbb6c8bb4ea9e6909877d6178e00b6a65349eade64a462534da0')
prepare() {
cd "$pkgname-$pkgver"
}
build() {
cd "$pkgname-$pkgver"
arch-meson build
meson compile -C build
}
check() {
cd "$pkgname-$pkgver"
meson test -C build --print-errorlogs
}
package() {
cd "$pkgname-$pkgver"
meson install -C build --destdir "$pkgdir"
install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
|