summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f77a78f30a8eaad02a0400cf66dfe0e6d84d89ac (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
# Contributor: Sergey Kolesov <cucullus.at.mail.ru>
# Previously contributed by StormBlast and Vyazovoi

pkgname=xneur
pkgver=0.20.0
pkgrel=1
pkgdesc='X Neural Switcher detects the language of input and corrects keyboard layout if needed'
url="http://www.xneur.ru"
arch=('i686' 'x86_64')
license=('GPL')
depends=("gstreamer>=1.2.4" 'enchant' 'libnotify' 'gtk2')
source=("https://raw.githubusercontent.com/AndrewCrewKuznetsov/xneur-devel/master/dists/$pkgver/xneur_$pkgver.orig.tar.gz")
optdepends=('hunspell-<your_lang>: Significantly improves heuristics quality')
md5sums=('00fc51adccf7b2c377d9a8725d0ab981')

build() {
    cd $srcdir/$pkgname-$pkgver
    ./configure --prefix=/usr --sysconfdir=/etc \
	--without-xosd \
	--with-gtk=gtk2 # Because gxneur still doesn't supports gtk3
    make
}

package() {
    cd $srcdir/$pkgname-$pkgver
    make DESTDIR=$pkgdir install
}