diff options
-rw-r--r-- | user/granite/APKBUILD | 35 |
1 files changed, 35 insertions, 0 deletions
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 <sheila@vulpine.house> +# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house> +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" |