Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=edd8c7a862242a5b676a13474709df05c6ed3916

commit edd8c7a862242a5b676a13474709df05c6ed3916
Author: DeX77 <[email protected]>
Date:   Fri Feb 12 19:00:37 2016 +0100

enchant-1.6.0-5-x86_64

* rebuild: splitting

diff --git a/source/apps/enchant/FrugalBuild b/source/apps/enchant/FrugalBuild
index ccef5ec..f3da898 100644
--- a/source/apps/enchant/FrugalBuild
+++ b/source/apps/enchant/FrugalBuild
@@ -3,10 +3,10 @@

pkgname=enchant
pkgver=1.6.0
-pkgrel=4
+pkgrel=5
pkgdesc="Generic spell checking library"
url="http://www.abisource.com/enchant/";
-depends=('aspell>=0.60.6.1-3' 'glib2>=2.22-7' 'libstdc++>=5.3.0-2' 
'hunspell>=1.3.3-3' 'hspell>=1.3-2')
+depends=('glib2>=2.22-7' 'libstdc++>=5.3.0-2')
groups=('apps')
license=('GPL2.1')
archs=('i686' 'x86_64')
@@ -15,17 +15,42 @@ 
source=(http://www.abisource.com/downloads/$pkgname/$pkgver/$pkgname-$pkgver.tar
sha1sums=('321f9cf0abfa1937401676ce60976d8779c39536' \
'9e8694a69705a12ff2e94e60b8b4031a2c9a9f95')

-## TODO: split it
-
Fconfopts+="    --disable-ispell \
--with-myspell-dir=/usr/share/myspell \
--with-aspell-prefix=/usr \
--with-hspell-prefix=/usr"
+
+subpkgs+=("$pkgname-myspell")
+subdescs+=("myspell plugin for enchant")
+subrodepends+=("$pkgname")
+subdepends+=("hunspell>=1.3.3-3")
+subarchs+=('i686 x86_64')
+subgroups+=("apps-extra")
+
+subpkgs+=("$pkgname-aspell")
+subdescs+=("aspell plugin for enchant")
+subrodepends+=("$pkgname")
+subdepends+=("aspell>=0.60.6.1-3")
+subarchs+=('i686 x86_64')
+subgroups+=("apps-extra")
+
+subpkgs+=("$pkgname-hspell")
+subdescs+=("hspell plugin for enchant")
+subrodepends+=("$pkgname")
+subdepends+=("hspell>=1.3-2")
+subarchs+=('i686 x86_64')
+subgroups+=("apps-extra")
+
+
+
build() {

Fbuild

Ffile /usr/share/enchant/enchant.ordering
+       Fsplit "$pkgname-aspell"        usr/lib/enchant/libenchant_aspell.*
+        Fsplit "$pkgname-myspell"      usr/lib/enchant/libenchant_myspell.*
+        Fsplit "$pkgname-hspell"       usr/lib/enchant/libenchant_hspell.*
}

# optimization OK
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to