summaryrefslogtreecommitdiff
path: root/user/xfce4-systemload-plugin/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'user/xfce4-systemload-plugin/APKBUILD')
-rw-r--r--user/xfce4-systemload-plugin/APKBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/user/xfce4-systemload-plugin/APKBUILD b/user/xfce4-systemload-plugin/APKBUILD
new file mode 100644
index 000000000..7cfcf6656
--- /dev/null
+++ b/user/xfce4-systemload-plugin/APKBUILD
@@ -0,0 +1,37 @@
+# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
+# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
+pkgname=xfce4-systemload-plugin
+pkgver=1.2.1
+pkgrel=0
+pkgdesc="System load monitor plugin for the XFCE panel"
+url="https://xfce.org"
+arch="all"
+license="BSD-2-Clause"
+makedepends="intltool libxfce4ui-dev xfce4-panel-dev"
+subpackages="$pkgname-lang"
+langdir="/usr/lib/locale"
+source="http://archive.xfce.org/src/panel-plugins/xfce4-systemload-plugin/1.2/xfce4-systemload-plugin-$pkgver.tar.bz2"
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="01e57d799731a5860f043339ff0e90e0967ac1bda91d9f500d657ea14f3a52f31d9dd68ef5293f7941ef93e26e48af72de22aef976d0ccd497c62096e1aaf0b9 xfce4-systemload-plugin-1.2.1.tar.bz2"