New package: i3status - status bar for i3 window manager

This commit is contained in:
davehome 2011-11-23 00:48:31 -07:00
parent b01a541925
commit ee4560efe7
3 changed files with 43 additions and 0 deletions

7
srcpkgs/i3status/INSTALL Normal file
View file

@ -0,0 +1,7 @@
case "${ACTION}" in
post)
if [ -f usr/bin/i3status ]; then
setcap 'CAP_NET_ADMIN=ep' usr/bin/i3status
fi
;;
esac

View file

@ -0,0 +1,4 @@
libconfuse.so.0
libiw.so.29
libasound.so.2
libc.so.6

32
srcpkgs/i3status/template Normal file
View file

@ -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 <davehome@redthumb.info.tm>"
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}
}