aboutsummaryrefslogtreecommitdiffstats
path: root/testing/gir-to-d/APKBUILD
blob: e4da4b88a420025b95c2d0c386ea20268948a3fa (plain) (blame)
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.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"