updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / gtkhotkey / PKGBUILD
blob63a07b1c4aa19ef6200b653d2fed740f70134b90
1 # Maintainer :  kiefer <jorgelmadrid@gmail.com>
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')
16 build() {
17   cd "$srcdir/$pkgname-$pkgver"
19   # doc path fix
20   sed -i "/gtkhotkeydocdir/s/\${prefix}/\/usr\/share/g" Makefile.*
22   ./configure --prefix=/usr \
23               --disable-static
24   make
27 package() {
28   cd "$srcdir/$pkgname-$pkgver"
30   make DESTDIR="$pkgdir/" install