Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Maintainer : kiefer <jorgelmadrid@gmail.com>
- pkgname=gtkhotkey
- pkgver=0.2.1
- pkgrel=4
- pkgdesc="Platform independent hotkey handling for Gtk+ applications"
- arch=('i686' 'x86_64')
- url="https://launchpad.net/gtkhotkey"
- license=('LGPL3')
- depends=('gtk2')
- makedepends=('intltool')
- options=('!libtool')
- source=("http://launchpad.net/${pkgname}/${pkgver%.*}/${pkgver}/+download/${pkgname}-${pkgver}.tar.gz")
- md5sums=('bfdc73e68e9adbe0d506d31a25862914')
- build() {
- cd "$srcdir/$pkgname-$pkgver"
- # doc path fix
- sed -i "/gtkhotkeydocdir/s/\${prefix}/\/usr\/share/g" Makefile.*
- sed -i "s|glib/gquark\.h|glib.h|" src/gtk-hotkey-error.h
- sed -i "s|glib/gtypes\.h|glib.h|" src/x11/tomboykeybinder.h
- ./configure --prefix=/usr \
- --disable-static
- make
- }
- package() {
- cd "$srcdir/$pkgname-$pkgver"
- make DESTDIR="$pkgdir/" install
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement