summaryrefslogtreecommitdiff
path: root/testing/libui/APKBUILD
blob: baa17f9e8b7689edf1501f8a9a094139bd005f51 (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
30
31
32
# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=libui
pkgver=4.1_alpha20211213
_commit=fea45b2d5b75839be0af9acc842a147c5cba9295
pkgrel=0
pkgdesc="Simple and portable GUI library for C"
url="https://github.com/andlabs/libui"
arch="all"
license="MIT"
options="!check" # no test suite
makedepends="
	meson
	gtk+3.0-dev
	"
subpackages="$pkgname-dev"
source="$pkgname-$pkgver.tar.gz::https://github.com/andlabs/libui/archive/$_commit.tar.gz"
builddir="$srcdir/$pkgname-$_commit"

build() {
	pwd
	echo $builddir
	abuild-meson . output
	meson compile -C output
}

package() {
	DESTDIR="$pkgdir" meson install --no-rebuild -C output
}

sha512sums="
59f31e0b0afff0f41592f5edaa495b89275e1bc7329312145dcea2896aa2898658b60c187be8f805b4cf1c23ce1ae4171c637f115d716998569d5c53e103217b  libui-4.1_alpha20211213.tar.gz
"