aboutsummaryrefslogtreecommitdiffstats
path: root/community/gtkspell3/APKBUILD
blob: 8310fc399402914fef65ef5a0b4e63b2a76541c0 (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
33
34
35
36
37
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=gtkspell3
pkgver=3.0.10
pkgrel=0
pkgdesc="rovides word-processor-style highlighting and replacement of misspelled words in a GtkTextView widget"
url="http://gtkspell.sourceforge.net/"
arch="all"
license="GPL-2.0-or-later"
makedepends="enchant2-dev gtk+3.0-dev vala gobject-introspection-dev
	automake autoconf libtool intltool"
options="!check" # no tests
subpackages="$pkgname-static $pkgname-dev $pkgname-doc $pkgname-lang"
source="https://downloads.sourceforge.net/gtkspell/gtkspell3-$pkgver.tar.xz"

prepare() {
	default_prepare
	autoreconf -fi
}

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--target=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

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

sha512sums="3b1ceaa9ffa06bd3f6dae39c95db951588e5cf2edf4f551cac6972822ba230af3415c5045fa24f7a4dfe05c2e386ab3f67cb80cb779576b4e54293b7b9fbc28e  gtkspell3-3.0.10.tar.xz"