Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Maintainer: Michal Gawronski <dinth1906@gmail.com>
- pkgname=dee-bzr
- pkgver=281
- pkgrel=1
- pkgdesc="Libdee is a library that uses DBus to provide objects allowing you to create Model-View-Controller type programs across DBus."
- arch=('i686' 'x86_64')
- url="https://launchpad.net/dee"
- license=('GPL')
- depends=('glib2-ubuntu')
- makedepends=('bzr' 'vala' 'gobject-introspection' 'gnome-common' 'gtk-doc')
- provides=('dee')
- conflicts=('dee')
- _bzrtrunk=lp:dee
- _bzrmod=dee
- build() {
- cd ${srcdir}
- msg "Connecting to the server...."
- if [ ! -d ./${_bzrmod} ]; then
- bzr co ${_bzrbranch} ${_bzrmod}
- else
- bzr up ${_bzrmod}
- fi
- msg "BZR checkout done or server timeout"
- msg "Starting make..."
- if [[ -d ${srcdir}/build ]]; then
- msg "Cleaning the previous build directory..."
- rm -rf ${srcdir}/build
- fi
- bzr clone ${srcdir}/${_bzrmod} ${srcdir}/build
- cd ${srcdir}/build
- ./autogen.sh --prefix=/usr
- make
- }
- package() {
- cd ${srcdir}/build
- make DESTDIR="${pkgdir}" install
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement