aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStacy Harper <contact@stacyharper.net>2021-10-06 20:59:07 +0200
committerLeo <thinkabit.ukim@gmail.com>2021-10-14 00:02:28 +0000
commit44060223aa0f5ba752cc000f1c45d7082c1879c6 (patch)
tree7d5fa849a4edf6b0084e37a42472d0e8a1ffca1f
parent940058825217b27329ceb06eb02138afe5ee02c6 (diff)
downloadaports-44060223aa0f5ba752cc000f1c45d7082c1879c6.tar.gz
aports-44060223aa0f5ba752cc000f1c45d7082c1879c6.tar.bz2
aports-44060223aa0f5ba752cc000f1c45d7082c1879c6.tar.xz
community/xprintidle: new aport
-rw-r--r--community/xprintidle/APKBUILD24
1 files changed, 24 insertions, 0 deletions
diff --git a/community/xprintidle/APKBUILD b/community/xprintidle/APKBUILD
new file mode 100644
index 0000000000..2e1b1d6e58
--- /dev/null
+++ b/community/xprintidle/APKBUILD
@@ -0,0 +1,24 @@
+# Contributor: Stacy Harper <contact@stacyharper.net>
+# Maintainer: Stacy Harper <contact@stacyharper.net>
+pkgname=xprintidle
+pkgver=0.2.4
+pkgrel=0
+pkgdesc="Query X server for user's idle time and print it in stdout"
+url="https://github.com/g0hl1n/xprintidle"
+arch="all"
+license="GPL-2.0-only"
+makedepends="meson libx11-dev libxext-dev libxscrnsaver-dev"
+subpackages="$pkgname-doc"
+source="$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/$pkgver.tar.gz"
+
+build() {
+ abuild-meson . output
+ meson compile ${JOBS:+-j ${JOBS}} -C output
+}
+
+package() {
+ DESTDIR="$pkgdir" meson install --no-rebuild -C output
+}
+sha512sums="
+25f92524bea5e4f5db3883f74157e92056c9e1871cf0effe6800bd26ddffb9037e8246b1bffe282b84fa776f4eb9988838d2fd7c770d7a5f2b3ce489b8d7fdc8 xprintidle-0.2.4.tar.gz
+"