1 # Maintainer: crazyelf5
6 pkgdesc="A library on top of gtk to build applications."
8 url="https://launchpad.net/varka"
10 depends=('gobject-introspection' 'gtk3' 'glib2')
11 makedepends=('gcc' 'bzr' 'cmake' 'vala')
17 msg "Connecting to Bazaar server...."
19 if [[ -d "$_bzrmod" ]]; then
20 cd "$_bzrmod" && bzr pull "$_bzrtrunk" -r "$pkgver"
21 msg "The local files are updated."
23 bzr branch "$_bzrtrunk" "$_bzrmod" -r "$pkgver"
26 msg "Bazaar checkout done or server timeout"
27 msg "Starting build..."
29 [ -d "$srcdir/$_bzrmod-build" ] && rm -rf "$srcdir/$_bzrmod-build"
30 cp -r "$srcdir/$_bzrmod" "$srcdir/$_bzrmod-build"
31 cd "$srcdir/$_bzrmod-build"
32 [ -d build ] && rm -rf build
35 cmake .. -DCMAKE_INSTALL_PREFIX=/usr
40 cd "$srcdir/$_bzrmod-build/build"
41 make DESTDIR="$pkgdir/" install
44 # vim:set ts=2 sw=2 et: