summaryrefslogtreecommitdiff
path: root/extra/libkeybinder3/PKGBUILD
blob: 6f6964d200fa160d9b92f2f7626c43dc65167cd4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# $Id: PKGBUILD 188580 2013-06-16 02:22:32Z eric $
# Maintainer: Eric Bélanger <eric@archlinux.org>
# Contributor: speps <speps at aur dot archlinux dot org>

pkgname=libkeybinder3
pkgver=0.3.0
pkgrel=2
pkgdesc="A library for registering global keyboard shortcuts"
arch=('i686' 'x86_64')
url="http://kaizer.se/wiki/keybinder/"
license=('MIT')
depends=('gtk3')
makedepends=('gtk-doc')
optdepends=('lua-lgi: lua bindings')
options=('!libtool')
source=(http://archive.ubuntu.com/ubuntu/pool/universe/k/keybinder-3.0/keybinder-3.0_${pkgver}.orig.tar.gz)
sha1sums=('53167d295ffa1d356bfad6f9360b90bd85e8fb26')

build() {
  cd keybinder-3.0-${pkgver}
  ./configure --prefix=/usr --enable-gtk-doc
  make
}

package() {
  cd keybinder-3.0-${pkgver}
  make DESTDIR="$pkgdir" install
  install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}