summaryrefslogtreecommitdiff
path: root/user/granite7/APKBUILD
blob: bb98998a03eeae00db3286e4cea3f6e95c922961 (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
30
31
32
33
34
35
36
# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=granite7
pkgver=7.3.0
pkgrel=0
pkgdesc="Companion library for GTK and Glib, version 7"
url="https://elementary.io"
arch="all"
license="LGPL-3.0-only AND GPL-2.0-only AND LGPL-2.1-only AND LGPL-3.0+ AND GPL-2.0+ AND GPL-3.0-only"
depends=""
makedepends="meson ninja glib-dev gobject-introspection-dev gtk4-dev
	libgee-dev sassc vala-dev"
subpackages="$pkgname-dev $pkgname-lang"
source="granite-$pkgver.tar.gz::https://github.com/elementary/granite/archive/refs/tags/$pkgver.tar.gz"
builddir="$srcdir/granite-$pkgver"

build() {
	meson setup \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		--buildtype=release \
		. output
	meson compile -C output
}

check() {
	meson test -C output
}

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

sha512sums="aba066cb506633d8f2c9c9873e3792c4c5bc9ea11dc7f0d9fcaf89eda1f156c5997fdfd20033ccc00c5b254d7bf002698ffdb9882fff1b912d73b8beee6f620c  granite-7.3.0.tar.gz"