Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

libdbusmenu-ubuntu

By: a guest on Mar 30th, 2011  |  syntax: Bash  |  size: 1.87 KB  |  views: 94  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. # Maintainer: Gianfranco 'Gianfrix' Micoli <gianfrix.mg@gmail.com>
  2.  
  3. pkgname=libdbusmenu
  4. pkgver=0.4.0
  5. pkgrel=1
  6. _ubuntupkgrel=2
  7. pkgdesc="A small little library that was created by pulling out some common code out of indicator-applet. (Canonical Ayatana Project)"
  8. arch=('i686' 'x86_64')
  9. url="https://launchpad.net/dbusmenu"
  10. license=('GPL')
  11. depends=('glib2' 'dbus-glib' 'libxml2' 'json-glib' 'gtk2')
  12. makedepends=('intltool' 'gnome-doc-utils')
  13. source=(http://archive.ubuntu.com/ubuntu/pool/main/libd/libdbusmenu/libdbusmenu_${pkgver}.orig.tar.gz
  14.         http://archive.ubuntu.com/ubuntu/pool/main/libd/libdbusmenu/libdbusmenu_${pkgver}-0ubuntu${_ubuntupkgrel}.diff.gz
  15.         Dbusmenu-Glib-0.2.gir
  16.         Dbusmenu-Glib-0.2.vapi
  17.         DbusmenuGtk-0.2.gir
  18.         DbusmenuGtk-0.2.vapi
  19.         Dbusmenu-0.4.gir
  20.         Dbusmenu-0.4.vapi)
  21. md5sums=('6b71a666bdda8bfcffdbcda5cead23f4'
  22.          'b061586b54a67048228f58b01f43e303'
  23.          '1c2f4f0648fba407934d5696cc212398'
  24.          '40ae00d26cda9b781a561befe6276c80'
  25.          'd7c40fa2bcd6706f8e211a8ba883e44a'
  26.          '91e976da3435bb888db813df5626e137'
  27.          'a3dd900ba3e77b1e8cd5905b65dfb504'
  28.          'be8c6615270eb38dfe4f48045e4ecc91')
  29.  
  30. build() {
  31.   cd "$srcdir"/$pkgname-$pkgver
  32.   patch -Np1 -i ../libdbusmenu_${pkgver}-0ubuntu${_ubuntupkgrel}.diff
  33.   ./configure --prefix=/usr --disable-static --enable-introspection=no
  34.   make
  35. }
  36.  
  37. package() {
  38.   cd "$srcdir"/$pkgname-$pkgver
  39.   make DESTDIR="$pkgdir/" install
  40.  
  41.   install -d $pkgdir/usr/share/gir-1.0/
  42.   install -d $pkgdir/usr/share/vala/vapi/
  43.   install ../Dbusmenu-Glib-0.2.gir $pkgdir/usr/share/gir-1.0/
  44.   install ../DbusmenuGtk-0.2.gir $pkgdir/usr/share/gir-1.0/
  45.   install ../Dbusmenu-0.4.gir $pkgdir/usr/share/gir-1.0/
  46.   install ../Dbusmenu-Glib-0.2.vapi $pkgdir/usr/share/vala/vapi/
  47.   install ../DbusmenuGtk-0.2.vapi $pkgdir/usr/share/vala/vapi/
  48.   install ../Dbusmenu-0.4.vapi $pkgdir/usr/share/vala/vapi/
  49. }