aboutsummaryrefslogtreecommitdiffstats
path: root/community/gtkspell/APKBUILD
blob: 39709e3e7e7696c43f46f47e7c05486a6c91d3f2 (plain) (blame)
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
33
34
35
36
37
38
39
40
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gtkspell
pkgver=2.0.16
pkgrel=8
pkgdesc="Word-processor-style highlighting and replacement of misspelled words in a GtkTextView widget"
url="http://gtkspell.sourceforge.net/"
arch="all"
license="GPL-2.0-only"
makedepends="gtk+2.0-dev enchant2-dev automake autoconf libtool gtk-doc"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
source="http://gtkspell.sourceforge.net/download/gtkspell-$pkgver.tar.gz
	enchant-2.patch
	"

prepare() {
	default_prepare

	gtkdocize
	autoreconf -fi
}

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--disable-static
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="7d3afb327c2e15608194e6ee6110107a0ce082e483788d831d636b2e579472304137373c09a966d8e5c0cd2f830bf2e0ee477c9b5fca7da6ee27fd1498915b9d  gtkspell-2.0.16.tar.gz
a1a8b2409677b1903d75e6d2baff0455e5adb0fc19cc0a054c02249a307544ab35f2d2386c79cbc7894f9cbb154fd51d4b4eb5061d3ccfc418ffc126a9f03704  enchant-2.patch"