blob: b02ac61673a85c707e8ff38ae6f7dd936e1705d2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=gir-to-d
pkgver=0.21.0
pkgrel=0
pkgdesc=" Create D bindings from GObject introspection files"
url="https://github.com/gtkd-developers/gir-to-d"
arch="all !ppc64le !s390x !mips !mips64" # 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=plain \
. output
ninja -C output
}
package() {
DESTDIR="$pkgdir" ninja -C output install
}
sha512sums="378a5c1cb1ec909fc39f1cc00b2479a0d826c3bdfe31b535e68719e4ccc74db548b670700dbf78eced417777477d1bcf5aad1cbe2bc15049f1ec52666c16a9da gir-to-d-0.21.0.tar.gz"
|