1 # Maintainer: Balló György <ballogyor+arch at gmail dot com>
4 pkgname=(lxhotkey lxhotkey-gtk3)
7 pkgdesc='Keyboard shortcuts configurator (part of LXDE)'
10 url='https://lxde.org/'
11 depends=('gtk2' 'gtk3' 'libfm')
12 makedepends=('intltool')
13 source=(https://downloads.sourceforge.net/lxde/$pkgbase-$pkgver.tar.xz)
14 sha256sums=('e065ce42996ce96dec3f28b6d8c5eecb9d183bebb355367ef3eae6db261026e5')
23 [ -d gtk2 ] || cp -r $pkgbase-$pkgver gtk2
25 ./configure --sysconfdir=/etc --prefix=/usr --with-gtk=2
30 [ -d gtk3 ] || cp -r $pkgbase-$pkgver gtk3
32 ./configure --sysconfdir=/etc --prefix=/usr --with-gtk=3
38 depends=('gtk2' 'libfm')
41 make DESTDIR="$pkgdir" install
44 package_lxhotkey-gtk3() {
46 pkgdesc+=' (GTK+ 3 version)'
47 depends=('gtk3' 'libfm' 'libunistring')
48 conflicts=('lxhotkey')
51 make DESTDIR="$pkgdir" install