aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorRasmus Thomsen <oss@cogitri.dev>2020-01-31 20:40:27 +0100
committerRasmus Thomsen <oss@cogitri.dev>2020-01-31 21:40:50 +0100
commit05ee32941ad0cfe70b46da74842d689fcf3f006f (patch)
tree0e15b88a91dd3fa2a4d63abd44f6e6e5f711cc4f /testing
parent13b8c9984e61bb8b811dbd40146472ac3fa16a9b (diff)
downloadaports-05ee32941ad0cfe70b46da74842d689fcf3f006f.tar.bz2
aports-05ee32941ad0cfe70b46da74842d689fcf3f006f.tar.xz
testing/gir-to-d: new aport
https://github.com/gtkd-developers/gir-to-d Create D bindings from GObject introspection files
Diffstat (limited to 'testing')
-rw-r--r--testing/gir-to-d/APKBUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/testing/gir-to-d/APKBUILD b/testing/gir-to-d/APKBUILD
new file mode 100644
index 0000000000..e4da4b88a4
--- /dev/null
+++ b/testing/gir-to-d/APKBUILD
@@ -0,0 +1,29 @@
+# Contributor: Rasmus Thomsen <oss@cogitri.dev>
+# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
+pkgname=gir-to-d
+pkgver=0.20.0
+pkgrel=0
+pkgdesc=" Create D bindings from GObject introspection files"
+url="https://github.com/gtkd-developers/gir-to-d"
+arch="all !ppc64le !s390x" # No gdc on these
+license="LGPL-3.0-or-later"
+makedepends="meson gcc-gdc"
+options="!check" # no tests
+source="https://github.com/gtkd-developers/gir-to-d/archive/v$pkgver/gir-to-d-$pkgver.tar.gz"
+
+build() {
+ meson \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var \
+ --buildtype=release \
+ . output
+ ninja -C output
+}
+
+package() {
+ DESTDIR="$pkgdir" ninja -C output install
+}
+
+sha512sums="27a8c7cf0ec1556e7361a2a704e150eae59b360eb5717b203f5604a5636eadeebd7b8af7701d2c96d20f503e27465281ae1734db1ad1f2d34d0514c2fc0ebc4e gir-to-d-0.20.0.tar.gz"