blob: 1404a7a3af98476ff792dea8c5cc8ecd23fe81c5 (
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
|
# Contributor: Jakub Jirutka <jakub@jirutka.cz>
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
pkgname=c-shquote
pkgver=1.0.0
pkgrel=0
pkgdesc="POSIX Shell Compatible Argument Parser"
url="https://github.com/c-util/c-shquote"
arch="all"
license="Apache-2.0 OR LGPL-2.1-or-later"
makedepends="
c-stdaux-dev~=1
meson
"
subpackages="$pkgname-dev"
source="https://github.com/c-util/c-shquote/archive/v$pkgver/c-shquote-$pkgver.tar.gz"
build() {
abuild-meson . output
meson compile -j ${JOBS:-0} -C output
}
check() {
meson test --no-rebuild --print-errorlogs -C output
}
package() {
DESTDIR="$pkgdir" meson install --no-rebuild -C output
}
sha512sums="
1dcd57a6e62cd27f9de32c5b0d9be8d71d531557a8a4d8c4985b205a2f6f9d42c4113c40b20e1a295b4d6586404e921a17781185634648fbf7c9174b64e6a776 c-shquote-1.0.0.tar.gz
"
|