updated on Thu Jan 12 20:00:29 UTC 2012
[aur-mirror.git] / byobu / PKGBUILD
blobfc1e1ad156202abfc6db10f94f6218698ee7b978
1 # -*- shell-script -*-
2 # Maintainer: Baptiste Jonglez <zerstorer at free dot fr>
3 # Contributor: Adrian C. <anrxc..sysphere.org>
5 pkgname=byobu
6 pkgver=5.0
7 pkgrel=2
8 pkgdesc="Enhanced profile and useful notifications for tmux (or optionally screen)"
9 arch=("any")
10 url="https://launchpad.net/byobu"
11 license=("GPL3")
12 depends=("tmux" "libnewt" "python2")
13 makedepends=("gettext" "patch")
14 optdepends=("screen")
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
18     "statusrc")
19 md5sums=('9f1ae427cbb76a59566d26e0fdf4fab9'
20          'b524b8766f57a24b88916dc92b6f6fd9'
21          '114937599258f95d608fc6b459c0aaff')
23 build() {
24   cd "${srcdir}/${pkgname}-${pkgver}"
26   # fix python -> python2
27   patch -uNp1 -i "${srcdir}/${pkgname}.diff"
29   ./configure --prefix=/usr --sysconfdir=/etc
30   make
33 package() {
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/"