Want more features on Pastebin? Sign Up, it's FREE!
Guest

libdbusmenu 0.3.16 PKGBUILD

By: a guest on Jan 28th, 2011  |  syntax: Bash  |  size: 1.62 KB  |  views: 50  |  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.16
  5. pkgrel=3
  6. pkgdesc="A small little library that was created by pulling out some common code out of indicator-applet. (Canonical Ayatana Project)"
  7. arch=('i686' 'x86_64')
  8. url="https://launchpad.net/dbusmenu"
  9. license=('GPL')
  10. depends=('glib2' 'dbus-glib' 'libxml2' 'json-glib' 'gtk2')
  11. makedepends=('intltool' 'gnome-common' 'gnome-doc-utils')
  12. source=(http://archive.ubuntu.com/ubuntu/pool/main/libd/libdbusmenu/libdbusmenu_${pkgver}.orig.tar.gz
  13. http://archive.ubuntu.com/ubuntu/pool/main/libd/libdbusmenu/libdbusmenu_${pkgver}-0ubuntu1.diff.gz
  14. Dbusmenu-Glib-0.2.gir
  15. Dbusmenu-Glib-0.2.vapi
  16. DbusmenuGtk-0.2.gir
  17. DbusmenuGtk-0.2.vapi)
  18. md5sums=('9b53dd4db3f92fd717a1e8132bc35ee0'
  19.          '436062523c8efb73d25542f8a29f6c08'
  20.          '1c2f4f0648fba407934d5696cc212398'
  21.          '40ae00d26cda9b781a561befe6276c80'
  22.          'd7c40fa2bcd6706f8e211a8ba883e44a'
  23.          '91e976da3435bb888db813df5626e137')
  24.  
  25. build() {
  26.   cd "$srcdir"/$pkgname-$pkgver
  27.   patch -Np1 -i ../libdbusmenu_${pkgver}-0ubuntu1.diff
  28.   ./configure --prefix=/usr --disable-static --enable-introspection=no || return 1
  29.   make || return 1
  30. }
  31.  
  32. package()
  33. {
  34.   cd "$srcdir"/$pkgname-$pkgver
  35.   make DESTDIR="$pkgdir" install || return 1
  36.  
  37.   install -d $pkgdir/usr/share/gir-1.0/
  38.   install -d $pkgdir/usr/share/vala/vapi/
  39.   install ../Dbusmenu-Glib-0.2.gir $pkgdir/usr/share/gir-1.0/
  40.   install ../DbusmenuGtk-0.2.gir $pkgdir/usr/share/gir-1.0/
  41.   install ../Dbusmenu-Glib-0.2.vapi $pkgdir/usr/share/vala/vapi/
  42.   install ../DbusmenuGtk-0.2.vapi $pkgdir/usr/share/vala/vapi/
  43. }
clone this paste RAW Paste Data