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

49 lines
1.0 KiB
Plaintext

# Contributor: Jakub Jirutka <jakub@jirutka.cz>
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
pkgname=granite
pkgver=6.2.0
pkgrel=1
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
gtk+3.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
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-demo
amove usr/share/applications/io.elementary.granite.demo.desktop
}
sha512sums="
4d9c21a653505812c8d99508166b411d1931bd251bf51c4bff8e6a0d905b5efc60832f3e7fbf6f8d52b67b55edf299969865542db33a8276b90e05b3b4731a87 granite-6.2.0.tar.gz
"