1 # Maintainer: Alexander F. Rødseth <xyproto@archlinux.org>
2 # Contributor: Daniel Landau <aur@landau.fi>
3 # Contributor: Justin Coffman <jcoffman at datasecu dot red>
4 # Contributor: Sibren Vasse <arch at sibrenvasse dot nl>
5 # Contributor: oozyslug <oozyslug at gmail dot com>
6 # Contributor: Justin Coffman <jcoffman at datasecu dot red>
11 pkgdesc='Enhanced tmux'
13 url='https://byobu.org/'
15 depends=(libnewt python tmux)
16 makedepends=(gettext setconf)
17 source=("$pkgname-$pkgver.tar.gz::https://launchpad.net/byobu/trunk/$pkgver/+download/byobu_$pkgver.orig.tar.gz"
18 "$pkgname-$pkgver.tar.gz.asc::https://launchpad.net/byobu/trunk/$pkgver/+download/..-byobu_$pkgver.orig.tar.gz.asc")
19 sha256sums=('4d8ea48f8c059e56f7174df89b04a08c32286bae5a21562c5c6f61be6dab7563'
21 validpgpkeys=('E2D9E1C5F9F5D59291F4607D95E64373F1529469') # Dustin Kirkland <kirkland@ubuntu.com>
24 # Adjust path to SOCKETDIR
25 setconf "$pkgname-$pkgver/etc/byobu/socketdir" SOCKETDIR '"/tmp/screens"'
27 # Tweak the two .desktop files that comes with Byobu
28 cd "$pkgname-$pkgver/usr/share/byobu/desktop"
29 setconf byobu.desktop Name 'Byobu Gnome Terminal'
30 setconf byobu.desktop Icon=/usr/share/byobu/pixmaps/byobu.svg
31 setconf byobu.desktop \
32 Exec "gnome-terminal --name=us.kirkland.terminals.byobu --class=us.kirkland.terminals.byobu -- byobu"
33 setconf byobu.desktop.old Icon=/usr/share/byobu/pixmaps/byobu.svg
38 ./configure --prefix=/usr --sysconfdir=/etc
43 DESTDIR="$pkgdir" make -C "$pkgname-$pkgver" install
45 # Move .desktop files to /usr/share/applications
46 install -d "$pkgdir/usr/share/applications"
47 mv "$pkgdir/usr/share/byobu/desktop/byobu.desktop" \
48 "$pkgdir/usr/share/applications/byobu.desktop"
49 mv "$pkgdir/usr/share/byobu/desktop/byobu.desktop.old" \
50 "$pkgdir/usr/share/applications/byobu_old.desktop"
51 rmdir "$pkgdir/usr/share/byobu/desktop"
54 # getver: launchpad.net/byobu/+download