From 93f7a358ef98166d83a7a3f71bf4e2c43da46d5b Mon Sep 17 00:00:00 2001 From: Rasmus Thomsen Date: Sat, 29 Feb 2020 23:56:49 +0100 Subject: testing/libdparse: new aport https://libdparse.dlang.io/ Library for lexing and parsing D source code --- testing/libdparse/APKBUILD | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 testing/libdparse/APKBUILD (limited to 'testing/libdparse') diff --git a/testing/libdparse/APKBUILD b/testing/libdparse/APKBUILD new file mode 100644 index 0000000000..68d933fc20 --- /dev/null +++ b/testing/libdparse/APKBUILD @@ -0,0 +1,33 @@ +# Contributor: Rasmus Thomsen +# Maintainer: Rasmus Thomsen +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" -- cgit v1.2.3