summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 44a5ba318ca8f0acf01cfdc70a1b3d6ae1b6adab (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
30
# Maintainer: Andreas Baumann <mail@andreasbaumann.cc>
# Contributor: Balló György <ballogyor+arch at gmail dot com>
# Contributor: Guillaume ALAUX <guillaume@archlinux.org>

pkgname=('libkeybinder2')
pkgbase=keybinder2
_realname=keybinder
pkgver=0.3.1
pkgrel=6
pkgdesc='Library for registering global keyboard shortcuts'
arch=('x86_64')
url='https://github.com/kupferlauncher/keybinder'
license=('GPL')
depends=('gtk2' 'lua51')
makedepends=('gobject-introspection')
source=(https://github.com/kupferlauncher/$_realname/releases/download/v$pkgver/$_realname-$pkgver.tar.gz)
sha256sums=('879f07130ac64792ddb9fd758e6673119283bda37d75573787ae22af8684a240')

build() {
  cd $_realname-$pkgver
  ./configure --prefix=/usr --disable-python \
	--with-lua-suffix=51 --with-lua-includes=/usr/include/lua5.1
  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
  make
}

package_libkeybinder2() {
  cd $_realname-$pkgver
  make DESTDIR="$pkgdir" install
}