1 # Maintainer: Peter B. Jørgensen <peterbjorgensen@gmail.com>
2 # PKGBUILD is heavily based on terminator-bzr by:
3 # Orig Maintainer: TDY <tdy@gmx.com>
4 # Contributor: zhuqin <zhuqin83@gmail.com>
6 pkgname=terminator-dropdown-bzr
9 pkgdesc="A tool for arranging multiple terminals in a single window - dropdown bzr branch"
10 arch=('i686' 'x86_64')
11 url="http://www.tenshu.net/terminator/"
13 depends=('hicolor-icon-theme' 'pygtk' 'vte' 'xdg-utils')
14 makedepends=('bzr' 'desktop-file-utils' 'gettext' 'intltool')
15 optdepends=('gnome-python: gnome-terminal profile support')
16 provides=('terminator=0.13')
17 conflicts=('terminator')
18 install=terminator.install
20 #_bzrtrunk=http://bazaar.launchpad.net/~gnome-terminator/terminator/trunk
21 _bzrtrunk=https://code.launchpad.net/~peterbjorgensen/terminator/dropdown
27 msg "Connecting to $_bzrtrunk..."
28 if [[ -d $_bzrmod ]]; then
30 msg2 "Local files updated"
32 bzr co $_bzrtrunk $_bzrmod -r $pkgver
33 msg2 "BZR checkout done"
37 cp -r $_bzrmod $_bzrmod-build
40 msg "Starting make..."
41 python setup.py build || return 1
45 cd "$srcdir/$_bzrmod-build"
46 python setup.py install --prefix=/usr --root="$pkgdir"
47 rm -f "$pkgdir/usr/share/icons/hicolor/icon-theme.cache"