2023-10-19 10:44:14 +00:00

50 lines
1.1 KiB
Plaintext

# Contributor: Jakub Jirutka <jakub@jirutka.cz>
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
pkgname=granite7
pkgver=7.3.0
pkgrel=0
pkgdesc="Library that extends GTK with common widgets and utilities"
url="https://github.com/elementary/granite"
arch="all"
license="LGPL-3.0"
depends="
gsettings-desktop-schemas
hicolor-icon-theme
"
makedepends="
glib-dev
gobject-introspection-dev
gtk4.0-dev
libgee-dev
meson
sassc
vala
"
subpackages="
$pkgname-dev
$pkgname-lang
"
source="https://github.com/elementary/granite/archive/$pkgver/granite-$pkgver.tar.gz"
options="!check" # no tests provided
builddir="$srcdir/granite-$pkgver/"
build() {
abuild-meson . output
meson compile -j ${JOBS:-0} -C output
}
package() {
DESTDIR="$pkgdir" meson install --no-rebuild -C output
}
dev() {
default_dev
amove usr/bin/granite-7-demo
amove usr/share/applications/io.elementary.granite-7.demo.desktop
}
sha512sums="
aba066cb506633d8f2c9c9873e3792c4c5bc9ea11dc7f0d9fcaf89eda1f156c5997fdfd20033ccc00c5b254d7bf002698ffdb9882fff1b912d73b8beee6f620c granite-7.3.0.tar.gz
"