mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-29 12:31:35 +01:00
36 lines
1.0 KiB
Plaintext
36 lines
1.0 KiB
Plaintext
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
|
|
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
|
|
pkgname=libdparse
|
|
pkgver=0.14.0
|
|
pkgrel=0
|
|
pkgdesc="Library for lexing and parsing D source code"
|
|
url="https://libdparse.dlang.io/"
|
|
arch="x86 x86_64 aarch64" # 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
|
|
389.patch"
|
|
|
|
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="c4c4ba232cf462ccfb43147284af55d587be58136072a1ac9d24265800e8418a72e5927607206b909f767455af1fd82da57d54183df4342a95cad0b40899c383 libdparse-0.14.0.tar.gz
|
|
5e8fe47e04f52dbdbbcd9be525b7e67c00e78259342be617ec4b2bd8dc32b5a02fba6d66075babe2b1c0efdcc7b726911389419c7c4f427d76d2a2a0c1e998aa 389.patch"
|