aboutsummaryrefslogtreecommitdiffstats
path: root/community/gtkspell/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/gtkspell/APKBUILD')
-rw-r--r--community/gtkspell/APKBUILD40
1 files changed, 40 insertions, 0 deletions
diff --git a/community/gtkspell/APKBUILD b/community/gtkspell/APKBUILD
new file mode 100644
index 00000000000..cd8e1b52234
--- /dev/null
+++ b/community/gtkspell/APKBUILD
@@ -0,0 +1,40 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=gtkspell
+pkgver=2.0.16
+pkgrel=10
+pkgdesc="Word-processor-style highlighting and replacement of misspelled words in a GtkTextView widget"
+url="https://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="https://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"