1 # Maintainer: crazyelf5
3 pkgname=pantheon-terminal-bzr
6 pkgdesc="A super lightweight, beautiful, and simple terminal from the Elementary project"
8 url="https://launchpad.net/pantheon-terminal"
10 depends=('gtk3' 'glib2' 'vala' 'vte3' 'granite-bzr' 'gettext' 'gconf' 'dconf' 'libnotify')
11 makedepends=('bzr' 'cmake')
12 install=$pkgname.install
14 _bzrtrunk=lp:pantheon-terminal
15 _bzrmod=pantheon-terminal
19 msg "Connecting to Bazaar server...."
21 if [[ -d "$_bzrmod" ]]; then
22 cd "$_bzrmod" && bzr pull "$_bzrtrunk" -r "$pkgver"
23 msg "The local files are updated."
25 bzr branch "$_bzrtrunk" "$_bzrmod" -r "$pkgver"
28 msg "Bazaar checkout done or server timeout"
29 msg "Starting build..."
31 rm -rf "$srcdir/$_bzrmod-build"
32 cp -r "$srcdir/$_bzrmod" "$srcdir/$_bzrmod-build"
33 cd "$srcdir/$_bzrmod-build"
35 [ -d build ] && rm -rf build
38 cmake .. -DCMAKE_INSTALL_PREFIX=/usr
43 cd "$srcdir/$_bzrmod-build/build"
44 make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="$pkgdir/" install
47 # vim:set ts=2 sw=2 et: