archrelease: copy trunk to community-any
[ArchLinux/community.git] / keybinder2 / trunk / PKGBUILD
blob4b853525a7e39b7d74ef14f21a03f546b59e1b4f
1 # Maintainer: Balló György <ballogyor+arch at gmail dot com>
2 # Contributor: Guillaume ALAUX <guillaume@archlinux.org>
4 pkgname=('libkeybinder2')
5 pkgbase=keybinder2
6 _realname=keybinder
7 pkgver=0.3.1
8 pkgrel=4
9 pkgdesc='Library for registering global keyboard shortcuts'
10 arch=('x86_64')
11 url='https://github.com/kupferlauncher/keybinder'
12 license=('GPL')
13 depends=('gtk2')
14 makedepends=('gobject-introspection')
15 source=(https://github.com/kupferlauncher/$_realname/releases/download/v$pkgver/$_realname-$pkgver.tar.gz)
16 sha256sums=('879f07130ac64792ddb9fd758e6673119283bda37d75573787ae22af8684a240')
18 build() {
19   cd $_realname-$pkgver
20   ./configure --prefix=/usr --disable-python
21   sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
22   make
25 package_libkeybinder2() {
26   cd $_realname-$pkgver
27   make DESTDIR="$pkgdir" install