diff --git a/srcpkgs/i3status/INSTALL b/srcpkgs/i3status/INSTALL new file mode 100644 index 0000000000..181a1f459a --- /dev/null +++ b/srcpkgs/i3status/INSTALL @@ -0,0 +1,7 @@ +case "${ACTION}" in +post) + if [ -f usr/bin/i3status ]; then + setcap 'CAP_NET_ADMIN=ep' usr/bin/i3status + fi + ;; +esac diff --git a/srcpkgs/i3status/i3status.rshlibs b/srcpkgs/i3status/i3status.rshlibs new file mode 100644 index 0000000000..5a94a4e044 --- /dev/null +++ b/srcpkgs/i3status/i3status.rshlibs @@ -0,0 +1,4 @@ +libconfuse.so.0 +libiw.so.29 +libasound.so.2 +libc.so.6 diff --git a/srcpkgs/i3status/template b/srcpkgs/i3status/template new file mode 100644 index 0000000000..a2036488c1 --- /dev/null +++ b/srcpkgs/i3status/template @@ -0,0 +1,32 @@ +# Template file for 'i3status' +pkgname=i3status +version=2.3 +homepage="http://i3wm.org/i3status" +distfiles="${homepage}/${pkgname}-${version}.tar.bz2" +short_desc="Generates status bar to use with dzen2 or xmobar." +maintainer="davehome " +license="BSD" +checksum=552dac4649f4e142c88ad3c42faace1fc372515c1b9dd979ebca58d36fa4bb1a +long_desc=" + i3 is a tiling window manager, completely written from scratch. The target + platforms are GNU/Linux and BSD operating systems, our code is Free and Open + Source Software (FOSS) under the BSD license. i3 is primarily targeted at + advanced users and developers." + +conf_files="/etc/i3status.conf" + +Add_dependency run libcap-progs + +Add_dependency build asciidoc +Add_dependency build confuse-devel +Add_dependency build wireless_tools-devel +Add_dependency build alsa-lib-devel + +do_build() { + make ${makejobs} +} + +do_install() { + make ${makejobs} DESTDIR=${DESTDIR} install + vinstall LICENSE 644 usr/share/licenses/${pkgname} +}