diff options
author | A. Wilcox <awilcox@wilcox-tech.com> | 2018-10-19 18:57:57 +0000 |
---|---|---|
committer | A. Wilcox <awilcox@wilcox-tech.com> | 2018-10-19 18:57:57 +0000 |
commit | 615706519a4d1f25ed49eb9700107520446d66c4 (patch) | |
tree | 26958a658ee0e69e778e04a0a53e1186b2b8d6d3 /user/xfce4-netload-plugin | |
parent | cc4a22b8d11e4019eabb255c64ee6c8f733cb76f (diff) | |
parent | fd2ae754a2c7e16e994e2aa15929b2bd1c6b52e1 (diff) | |
download | packages-615706519a4d1f25ed49eb9700107520446d66c4.tar.gz packages-615706519a4d1f25ed49eb9700107520446d66c4.tar.bz2 packages-615706519a4d1f25ed49eb9700107520446d66c4.tar.xz packages-615706519a4d1f25ed49eb9700107520446d66c4.zip |
Merge branch 'xfce4.plugins' into 'master'
A bunch of XFCE plugins
See merge request !82
Diffstat (limited to 'user/xfce4-netload-plugin')
-rw-r--r-- | user/xfce4-netload-plugin/APKBUILD | 39 | ||||
-rw-r--r-- | user/xfce4-netload-plugin/no-sysctl.patch | 11 |
2 files changed, 50 insertions, 0 deletions
diff --git a/user/xfce4-netload-plugin/APKBUILD b/user/xfce4-netload-plugin/APKBUILD new file mode 100644 index 000000000..139ec29b5 --- /dev/null +++ b/user/xfce4-netload-plugin/APKBUILD @@ -0,0 +1,39 @@ +# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com> +# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com> +pkgname=xfce4-netload-plugin +pkgver=1.3.1 +pkgrel=0 +pkgdesc="Network monitor plugin for the XFCE panel" +url="https://xfce.org" +arch="all" +license="GPL-2.0+" +makedepends="intltool libxfce4ui-dev xfce4-panel-dev" +subpackages="$pkgname-lang" +langdir="/usr/lib/locale" +source="http://archive.xfce.org/src/panel-plugins/xfce4-netload-plugin/1.3/xfce4-netload-plugin-$pkgver.tar.bz2 + no-sysctl.patch" + +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="34144bf2d95f71276f8b5f4cf417d97d380233805c6fec1b7c559fee5b11468a421d3691230e01d89b40289d5ab22a472dcbef2a7ee0854abd7213e0ef0a3ef9 xfce4-netload-plugin-1.3.1.tar.bz2 +ca7f5cb8282de4b46a7906570becbab6caa9670d91413945b92d849a5f1127befaf6274031637cde23731f4d78b9145d5973a1406d5c49ba4a0f7fe21ad2a6fd no-sysctl.patch" diff --git a/user/xfce4-netload-plugin/no-sysctl.patch b/user/xfce4-netload-plugin/no-sysctl.patch new file mode 100644 index 000000000..5bdab0807 --- /dev/null +++ b/user/xfce4-netload-plugin/no-sysctl.patch @@ -0,0 +1,11 @@ +diff -Nurd xfce4-netload-plugin-1.3.1/panel-plugin/os.h xfce4-netload-plugin-1.3.1.new/panel-plugin/os.h +--- xfce4-netload-plugin-1.3.1/panel-plugin/os.h 2014-10-26 10:26:36.000000000 -0500 ++++ xfce4-netload-plugin-1.3.1.new/panel-plugin/os.h 2018-09-08 18:22:36.103957974 -0500 +@@ -170,7 +170,6 @@ + #elif __linux__ /* L I N U X */ + # include <stdio.h> + # include <sys/param.h> +-# include <sys/sysctl.h> + # include <stdlib.h> + # include <stdarg.h> + # include <unistd.h> |