From 41b217be35a755981cd742eb91cfaa499a5bba4e Mon Sep 17 00:00:00 2001 From: Síle Ekaterin Liszka Date: Sun, 5 Nov 2023 07:31:52 -0800 Subject: user/granite: new package --- user/granite/APKBUILD | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 user/granite/APKBUILD diff --git a/user/granite/APKBUILD b/user/granite/APKBUILD new file mode 100644 index 000000000..87929be28 --- /dev/null +++ b/user/granite/APKBUILD @@ -0,0 +1,35 @@ +# Contributor: Síle Ekaterin Liszka +# Maintainer: Síle Ekaterin Liszka +pkgname=granite +pkgver=6.2.0 +pkgrel=0 +pkgdesc="Companion library for GTK and Glib" +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 gtk+3.0-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" + +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="4d9c21a653505812c8d99508166b411d1931bd251bf51c4bff8e6a0d905b5efc60832f3e7fbf6f8d52b67b55edf299969865542db33a8276b90e05b3b4731a87 granite-6.2.0.tar.gz" -- cgit v1.2.3-70-g09d2