mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-04 20:06:43 +02:00
testing/libdparse: new aport
https://libdparse.dlang.io/ Library for lexing and parsing D source code
This commit is contained in:
parent
1ef807faa5
commit
93f7a358ef
33
testing/libdparse/APKBUILD
Normal file
33
testing/libdparse/APKBUILD
Normal file
@ -0,0 +1,33 @@
|
||||
# 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"
|
||||
Loading…
x
Reference in New Issue
Block a user