aboutsummaryrefslogtreecommitdiffstats
path: root/main/enchant/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/enchant/APKBUILD')
-rw-r--r--main/enchant/APKBUILD26
1 files changed, 26 insertions, 0 deletions
diff --git a/main/enchant/APKBUILD b/main/enchant/APKBUILD
new file mode 100644
index 0000000000..9c22931e8f
--- /dev/null
+++ b/main/enchant/APKBUILD
@@ -0,0 +1,26 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=enchant
+pkgver=1.6.0
+pkgrel=5
+pkgdesc="A wrapper library for generic spell checking"
+url="http://www.abisource.com/enchant/"
+arch="all"
+license="LGPL"
+subpackages="$pkgname-dev $pkgname-doc"
+depends=
+depends_dev="glib-dev"
+makedepends="aspell-dev dbus-glib-dev hunspell-dev libiconv-dev gettext-dev"
+source="http://www.abisource.com/downloads/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz"
+
+build() {
+ cd "$srcdir"/$pkgname-$pkgver
+ ./configure --prefix=/usr --disable-static || return 1
+ make || return 1
+}
+
+package() {
+ cd "$srcdir"/$pkgname-$pkgver
+ make DESTDIR="$pkgdir" install || return 1
+ rm "$pkgdir"/usr/lib/*.la
+}
+md5sums="de11011aff801dc61042828041fb59c7 enchant-1.6.0.tar.gz"