Advertisement
martadinata

gtkhotkey

Aug 2nd, 2012
41
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.86 KB | None | 0 0
  1. # Maintainer : kiefer <jorgelmadrid@gmail.com>
  2.  
  3. pkgname=gtkhotkey
  4. pkgver=0.2.1
  5. pkgrel=4
  6. pkgdesc="Platform independent hotkey handling for Gtk+ applications"
  7. arch=('i686' 'x86_64')
  8. url="https://launchpad.net/gtkhotkey"
  9. license=('LGPL3')
  10. depends=('gtk2')
  11. makedepends=('intltool')
  12. options=('!libtool')
  13. source=("http://launchpad.net/${pkgname}/${pkgver%.*}/${pkgver}/+download/${pkgname}-${pkgver}.tar.gz")
  14. md5sums=('bfdc73e68e9adbe0d506d31a25862914')
  15.  
  16. build() {
  17. cd "$srcdir/$pkgname-$pkgver"
  18.  
  19. # doc path fix
  20. sed -i "/gtkhotkeydocdir/s/\${prefix}/\/usr\/share/g" Makefile.*
  21. sed -i "s|glib/gquark\.h|glib.h|" src/gtk-hotkey-error.h
  22. sed -i "s|glib/gtypes\.h|glib.h|" src/x11/tomboykeybinder.h
  23.  
  24. ./configure --prefix=/usr \
  25. --disable-static
  26. make
  27. }
  28.  
  29. package() {
  30. cd "$srcdir/$pkgname-$pkgver"
  31.  
  32. make DESTDIR="$pkgdir/" install
  33. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement