summaryrefslogtreecommitdiffstats
path: root/gtkspell/Pkgfile
blob: 0755bea1c655ba02ec722d6e96dfafd3ed0c20fb (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
31
32
# Description: Highlighting and replacement of misspelled words
# URL: http://gtkspell.sourceforge.net/
# Packager: thierryn1 at hispeed dot ch
# Maintainer: NuTyX core team
# Depends on: gtk, gtk3, aspell, enchant, xorg-libxcursor, xorg-libxdamage, xorg-libxrandr, xorg-libxinerama
# Run on: gtk,gtk3,aspell,enchant

name=gtkspell
version=2.0.16
release=2
source=(http://gtkspell.sourceforge.net/download/$name-$version.tar.gz
	gtk3_support.patch)

build() {
	cd $name-$version

	patch -p1 < ../gtk3_support.patch
	autoreconf -fi

	./configure --prefix=/usr \
		--with-gtk=2
	make
	make DESTDIR=$PKG install

	make clean
	./configure --prefix=/usr \
		--with-gtk=3
	make
	make DESTDIR=$PKG install

	rm -rf $PKG/usr/share/gtk-doc
}