aboutsummaryrefslogtreecommitdiffstats
path: root/main/gtkspell/APKBUILD
blob: 9112599b6f4196d1d2a1ac84303b35c20ddb3647 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gtkspell
pkgver=2.0.16
pkgrel=5
pkgdesc="GtkSpell provides word-processor-style highlighting and replacement of misspelled words in a GtkTextView widget"
url="http://gtkspell.sourceforge.net/"
arch="all"
license="GPL"
makedepends="gtk+-dev enchant-dev intltool"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
source="http://$pkgname.sourceforge.net/download/$pkgname-$pkgver.tar.gz"

depends_dev="gtk+-dev"
build() {
	cd "$srcdir"/$pkgname-$pkgver
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		|| return 1
	make || return 1
}

package() {
	cd "$srcdir"/$pkgname-$pkgver
	make DESTDIR="$pkgdir" install || return 1
	rm "$pkgdir"/usr/lib/*.la
}

md5sums="f75dcc9338f182c571b321d37c606a94  gtkspell-2.0.16.tar.gz"