aboutsummaryrefslogtreecommitdiffstats
path: root/community
diff options
context:
space:
mode:
Diffstat (limited to 'community')
-rw-r--r--community/gnome-usage/APKBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/community/gnome-usage/APKBUILD b/community/gnome-usage/APKBUILD
new file mode 100644
index 0000000000..33576284cd
--- /dev/null
+++ b/community/gnome-usage/APKBUILD
@@ -0,0 +1,30 @@
+# Contributor: Rasmus Thomsen <oss@cogitri.dev>
+# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
+pkgname=gnome-usage
+pkgver=3.32.0
+pkgrel=0
+pkgdesc="System resources status"
+url="https://wiki.gnome.org/Apps/Usage"
+arch="all"
+license="GPL-3.0-or-later"
+makedepends="meson glib-dev gtk+3.0-dev libdazzle-dev libgtop-dev vala"
+options="!check" # no tests
+subpackages="$pkgname-lang"
+source="https://download.gnome.org/sources/gnome-usage/${pkgver%.*}/gnome-usage-$pkgver.tar.xz"
+
+build() {
+ meson \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var \
+ --buildtype=release \
+ . output
+ ninja -C output
+}
+
+package() {
+ DESTDIR="$pkgdir" ninja -C output install
+}
+
+sha512sums="c1ed3ab8fcdb039bc05f4b091a7ac8c032b7f7847f77bff79c89a57d5c0075f712228c752674e0c61f63a1adaea911304de5a1cdd1c342c74abea6e48defee88 gnome-usage-3.32.0.tar.xz"