aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRasmus Thomsen <oss@cogitri.dev>2019-09-08 12:01:39 +0200
committerLeo <thinkabit.ukim@gmail.com>2019-09-08 11:00:01 -0300
commitdd7b4ab8227555010bcefa949ec0e3ab0c64fad0 (patch)
tree15f8a6d67ab7a775e9a71db22061b57d95137036
parenta3005d43f51a591eeb8054bdc74d5419ee0c3f5c (diff)
downloadaports-dd7b4ab8227555010bcefa949ec0e3ab0c64fad0.tar.bz2
aports-dd7b4ab8227555010bcefa949ec0e3ab0c64fad0.tar.xz
testing/gnome-usage: new aport
-rw-r--r--testing/gnome-usage/APKBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/testing/gnome-usage/APKBUILD b/testing/gnome-usage/APKBUILD
new file mode 100644
index 0000000000..33576284cd
--- /dev/null
+++ b/testing/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"