Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #Contributor: Flamelab <[email protected]>
- #Fixes thanks to: friver
- pkgname=wingpanel-bzr
- pkgver=6
- pkgrel=1
- pkgdesc="A space-saving top panel by the Elementary project"
- arch=('i686' 'x86_64')
- url="https://launchpad.net/wingpanel"
- license=('GPL')
- depends=('libindicator' 'glib2' 'libgee' 'cairo')
- makedepends=('bzr' 'intltool' 'gettext' 'vala' 'python-waf')
- options=('!libtool' '!emptydirs')
- install=${pkgname}.install
- optdepends=('ayatana-ubuntu: Ubuntu Ayatana -indicator- project')
- _bzrtrunk=lp:wingpanel
- _bzrmod=wingpanel
- build() {
- msg "Connecting to the server...."
- cd ${srcdir}
- if [ -d "${srcdir}/${_bzrmod}" ] ; then
- cd ${_bzrmod} && bzr up
- msg "The local files are updated."
- else
- bzr checkout ${_bzrtrunk}
- fi
- msg "BZR checkout done or server timeout"
- msg "Starting make..."
- cd ${srcdir}/${_bzrmod}
- mkdir build; cd build
- cmake .. -DCMAKE_INSTALL_PREFIX=/usr
- make
- }
- package() {
- cd ${srcdir}/${_bzrmod}/build
- make DESTDIR="${pkgdir}" install
- }
Advertisement
Add Comment
Please, Sign In to add comment