summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSíle Ekaterin Liszka <sheila@vulpine.house>2023-11-08 17:28:42 -0800
committerSíle Ekaterin Liszka <sheila@vulpine.house>2023-11-08 17:28:42 -0800
commitacff8397b07d0fa0a76ac29e74f491b032628166 (patch)
tree7a64a0a1bc1d4ea862ab9479f58642bd9d7cd8fb
parent973930968283b9072edcdb65ecbf59447a704c88 (diff)
downloadpackages-acff8397b07d0fa0a76ac29e74f491b032628166.tar.gz
packages-acff8397b07d0fa0a76ac29e74f491b032628166.tar.bz2
packages-acff8397b07d0fa0a76ac29e74f491b032628166.tar.xz
packages-acff8397b07d0fa0a76ac29e74f491b032628166.zip
user/granite7: new package
-rw-r--r--user/granite7/APKBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/user/granite7/APKBUILD b/user/granite7/APKBUILD
new file mode 100644
index 000000000..bb98998a0
--- /dev/null
+++ b/user/granite7/APKBUILD
@@ -0,0 +1,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"