diff options
| author | Rasmus Thomsen <oss@cogitri.dev> | 2020-02-29 23:56:49 +0100 |
|---|---|---|
| committer | Rasmus Thomsen <oss@cogitri.dev> | 2020-03-01 11:24:34 +0100 |
| commit | 93f7a358ef98166d83a7a3f71bf4e2c43da46d5b (patch) | |
| tree | eb973d96680fcfab9d19b51c39aeb4951143a0bd /testing/libdparse | |
| parent | 1ef807faa52148866c4ad860865b686540b4a6df (diff) | |
| download | aports-93f7a358ef98166d83a7a3f71bf4e2c43da46d5b.tar.bz2 aports-93f7a358ef98166d83a7a3f71bf4e2c43da46d5b.tar.xz | |
testing/libdparse: new aport
https://libdparse.dlang.io/
Library for lexing and parsing D source code
Diffstat (limited to 'testing/libdparse')
| -rw-r--r-- | testing/libdparse/APKBUILD | 33 |
1 files changed, 33 insertions, 0 deletions
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 <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" |
