From b8093ef334f7cde8b8619ca989a7dda8d8f07076 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Tue, 10 May 2016 14:59:47 +0200 Subject: [PATCH] New package: j4status-0.1. --- common/shlibs | 1 + srcpkgs/j4status-devel | 1 + srcpkgs/j4status/template | 28 ++++++++++++++++++++++++++++ 3 files changed, 30 insertions(+) create mode 120000 srcpkgs/j4status-devel create mode 100644 srcpkgs/j4status/template diff --git a/common/shlibs b/common/shlibs index f0149a3cc6..bb7c0adcdd 100644 --- a/common/shlibs +++ b/common/shlibs @@ -2444,3 +2444,4 @@ libsignon-plugins.so.1 signond-8.58_1 libsignon-qt5.so.1 signond-8.58_1 libsignon-plugins-common.so.1 signond-8.58_1 libsignon-extension.so.1 signond-8.58_1 +libj4status-plugin.so.0 j4status-0.1_1 diff --git a/srcpkgs/j4status-devel b/srcpkgs/j4status-devel new file mode 120000 index 0000000000..445ede4705 --- /dev/null +++ b/srcpkgs/j4status-devel @@ -0,0 +1 @@ +j4status \ No newline at end of file diff --git a/srcpkgs/j4status/template b/srcpkgs/j4status/template new file mode 100644 index 0000000000..35d15326dd --- /dev/null +++ b/srcpkgs/j4status/template @@ -0,0 +1,28 @@ +# Template file for 'j4status' +pkgname=j4status +version=0.1 +revision=1 +build_style=gnu-configure +hostmakedepends="pkg-config libxslt docbook-xsl" +makedepends="libglib-devel yajl-devel NetworkManager-devel pulseaudio-devel upower-devel libsensors-devel" +short_desc="Provides a status line using several plugin to retrieve information from your compute" +maintainer="Juan RP " +license="GPL-3" +homepage="https://j4status.j4tools.org/" +distfiles="http://download.tuxfamily.org/j4tools/j4status/j4status-${version}.tar.xz" +checksum=2ce80e460d6e4091deb28b663be87eceeb5cd533f40db6c5fba44a6adb995341 + +post_extract() { + sed -i 's,stdin,_stdin,g;s,stdout,_stdout,g;s,stderr,_stderr,g' input-output/i3bar/src/input.c +} + +j4status-devel_package() { + short_desc+=" - development files" + depends="libglib-devel ${sourcepkg}>=${version}_${revision}" + pkg_install() { + vmove usr/include + vmove usr/lib/*.so + vmove usr/lib/pkgconfig + vmove usr/share/aclocal + } +}