Pastebin launched a little side project called HostCabi.net, check it out ;-)Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Feb 22nd, 2011  |  syntax: None  |  size: 1.63 KB  |  hits: 158  |  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.3.97
  5. pkgrel=2
  6. _ubuntupkgrel=1
  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-common' 'gnome-doc-utils')
  13. source=(http://launchpad.net/dbusmenu/0.4/0.3.97/+download/libdbusmenu-0.3.97.tar.gz
  14. Dbusmenu-Glib-0.2.gir
  15. Dbusmenu-Glib-0.2.vapi
  16. DbusmenuGtk-0.2.gir
  17. DbusmenuGtk-0.2.vapi
  18. Dbusmenu-0.4.gir
  19. Dbusmenu-0.4.vapi)
  20. md5sums=('90165bc40b08c9434ef11261eded4904'
  21.          '1c2f4f0648fba407934d5696cc212398'
  22.          '40ae00d26cda9b781a561befe6276c80'
  23.          'd7c40fa2bcd6706f8e211a8ba883e44a'
  24.          '91e976da3435bb888db813df5626e137'
  25.          'a3dd900ba3e77b1e8cd5905b65dfb504'
  26.          'be8c6615270eb38dfe4f48045e4ecc91')
  27.  
  28. build() {
  29.   cd "$srcdir"/$pkgname-$pkgver
  30.   ./configure --prefix=/usr --disable-static --enable-introspection=no
  31.   make
  32. }
  33.  
  34. package()
  35. {
  36.   cd "$srcdir"/$pkgname-$pkgver
  37.   make DESTDIR="$pkgdir/" install
  38.  
  39.   install -d $pkgdir/usr/share/gir-1.0/
  40.   install -d $pkgdir/usr/share/vala/vapi/
  41.   install ../Dbusmenu-Glib-0.2.gir $pkgdir/usr/share/gir-1.0/
  42.   install ../DbusmenuGtk-0.2.gir $pkgdir/usr/share/gir-1.0/
  43.   install ../Dbusmenu-0.4.gir $pkgdir/usr/share/gir-1.0/
  44.   install ../Dbusmenu-Glib-0.2.vapi $pkgdir/usr/share/vala/vapi/
  45.   install ../DbusmenuGtk-0.2.vapi $pkgdir/usr/share/vala/vapi/
  46.   install ../Dbusmenu-0.4.vapi $pkgdir/usr/share/vala/vapi/
  47. }