From 8fbc0076a4827ddc6af92e0b9daa4c4c31450808 Mon Sep 17 00:00:00 2001 From: root Date: Fri, 19 Jul 2013 01:10:32 -0700 Subject: Fri Jul 19 01:09:18 PDT 2013 --- community/i3status/PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++ community/i3status/i3status.install | 9 +++++++++ 2 files changed, 45 insertions(+) create mode 100644 community/i3status/PKGBUILD create mode 100644 community/i3status/i3status.install (limited to 'community/i3status') diff --git a/community/i3status/PKGBUILD b/community/i3status/PKGBUILD new file mode 100644 index 000000000..dfd36db63 --- /dev/null +++ b/community/i3status/PKGBUILD @@ -0,0 +1,36 @@ +# $Id: PKGBUILD 85172 2013-02-27 14:41:02Z ttoepper $ +# Maintainer: Thorsten Töpper + +pkgname=i3status +pkgver=2.7 +pkgrel=1 +pkgdesc="Generates status bar to use with dzen2 or xmobar" +arch=('i686' 'x86_64') +url="http://i3.zekjur.net/i3status/" +license=('BSD') +groups=('i3') +depends=('wireless_tools' 'confuse' 'alsa-lib' 'yajl') +makedepends=('asciidoc') +backup=('etc/i3status.conf') +install=i3status.install +options=('docs') +source=("http://i3.zekjur.net/i3status/$pkgname-$pkgver.tar.bz2") +md5sums=('f0a39e84aebb65496af3dcec9d8cfeb8') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + + make DESTDIR="$pkgdir" install + install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE + + make clean +} + +# vim:set ts=2 sw=2 et: + diff --git a/community/i3status/i3status.install b/community/i3status/i3status.install new file mode 100644 index 000000000..e86d21b80 --- /dev/null +++ b/community/i3status/i3status.install @@ -0,0 +1,9 @@ +post_install() { + setcap 'CAP_NET_ADMIN=ep' /usr/bin/i3status +} + +post_upgrade() { + post_install $1 +} + +# vim:set ts=2 sw=2 et: -- cgit v1.2.3-54-g00ecf