From 415856bdd4f48ab4f2732996f0bae58595092bbe Mon Sep 17 00:00:00 2001 From: Parabola Date: Tue, 5 Apr 2011 14:26:38 +0000 Subject: Tue Apr 5 14:26:38 UTC 2011 --- community/i3status/PKGBUILD | 35 +++++++++++++++++++++++++++++++++++ community/i3status/i3status.install | 9 +++++++++ 2 files changed, 44 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..83c2a544f --- /dev/null +++ b/community/i3status/PKGBUILD @@ -0,0 +1,35 @@ +# $Id: PKGBUILD 27389 2010-09-22 23:16:02Z ttopper $ +# Maintainer: Thorsten Töpper + +pkgname=i3status +pkgver=2.2 +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') +makedepends=('asciidoc') +install=i3status.install +options=('docs') +source=(http://i3.zekjur.net/i3status/$pkgname-$pkgver.tar.bz2) +md5sums=('07e0f44b6f40d48f976d6e3b977320c3') + +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