mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-28 20:11:34 +01:00
34 lines
867 B
Plaintext
34 lines
867 B
Plaintext
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
|
|
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
|
|
pkgname=libdparse
|
|
pkgver=0.13.2
|
|
pkgrel=0
|
|
pkgdesc="Library for lexing and parsing D source code"
|
|
url="https://libdparse.dlang.io/"
|
|
arch="x86_64" # ldc
|
|
license="BSL-1.0"
|
|
makedepends="meson ldc ldc-runtime stdx-allocator-dev"
|
|
subpackages="$pkgname-dev"
|
|
source="https://github.com/dlang-community/libdparse/archive/v$pkgver/libdparse-$pkgver.tar.gz"
|
|
|
|
build() {
|
|
meson \
|
|
--prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
--mandir=/usr/share/man \
|
|
--localstatedir=/var \
|
|
--buildtype=plain \
|
|
. output
|
|
ninja -C output
|
|
}
|
|
|
|
check() {
|
|
ninja -C output test
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" ninja -C output install
|
|
}
|
|
|
|
sha512sums="3f95a9042476e784b7b3d16539b56e1c36ac7ffc72d3983866ececf19a450cbc8e183bc4bb74f763784ecfdda620a1f40668917e8f6588aef805a19021447665 libdparse-0.13.2.tar.gz"
|