2 # Maintainer: Baptiste Jonglez <zerstorer at free dot fr>
3 # Contributor: Adrian C. <anrxc..sysphere.org>
8 pkgdesc="Enhanced profile and useful notifications for tmux (or optionally screen)"
10 url="https://launchpad.net/byobu"
12 depends=("tmux" "libnewt" "python2")
13 makedepends=("gettext" "patch")
15 install="${pkgname}.install"
16 source=("${url}/trunk/${pkgver}/+download/${pkgname}_${pkgver}.orig.tar.gz"
17 "${pkgname}.diff" # for the python2 issue & arch-specific config
19 md5sums=('9f1ae427cbb76a59566d26e0fdf4fab9'
20 'b524b8766f57a24b88916dc92b6f6fd9'
21 '114937599258f95d608fc6b459c0aaff')
24 cd "${srcdir}/${pkgname}-${pkgver}"
26 # fix python -> python2
27 patch -uNp1 -i "${srcdir}/${pkgname}.diff"
29 ./configure --prefix=/usr --sysconfdir=/etc
34 cd "${srcdir}/${pkgname}-${pkgver}"
35 make install DESTDIR="$pkgdir"
37 # Install custom configuration for arch
38 install -D -m644 ${srcdir}/statusrc "${pkgdir}/usr/share/${pkgname}/status/"