From bb46acb7f8f61dc2a045c1d217f5f88b14829e86 Mon Sep 17 00:00:00 2001 From: Cameron Nemo Date: Thu, 15 Oct 2020 21:42:39 -0700 Subject: [PATCH] aspell: split tools into a subpkg --- srcpkgs/aspell-tools | 1 + srcpkgs/aspell/template | 14 ++++++++++++-- 2 files changed, 13 insertions(+), 2 deletions(-) create mode 120000 srcpkgs/aspell-tools diff --git a/srcpkgs/aspell-tools b/srcpkgs/aspell-tools new file mode 120000 index 00000000000..2954cad5043 --- /dev/null +++ b/srcpkgs/aspell-tools @@ -0,0 +1 @@ +aspell \ No newline at end of file diff --git a/srcpkgs/aspell/template b/srcpkgs/aspell/template index b3ccbeeaef8..6bda56ac340 100644 --- a/srcpkgs/aspell/template +++ b/srcpkgs/aspell/template @@ -1,12 +1,11 @@ # Template file for 'aspell' pkgname=aspell version=0.60.8 -revision=1 +revision=2 build_style=gnu-configure configure_args="--enable-compile-in-filters" hostmakedepends="automake libtool gettext-devel perl" makedepends="ncurses-devel" -depends="perl" short_desc="Spell checker with good multi-language support" maintainer="Orphaned " license="LGPL-2.1-only" @@ -22,6 +21,17 @@ pre_configure() { autoreconf -fi } +aspell-tools_package() { + depends="${sourcepkg}>=${version}_${revision} perl" + short_desc+=" - tools" + pkg_install() { + vmove usr/bin/aspell-import + vmove "usr/bin/pre*" + vmove usr/bin/run-with-aspell + vmove usr/bin/word-list-compress + } +} + aspell-devel_package() { depends="ncurses-devel libstdc++-devel aspell>=${version}_${revision}" short_desc+=" - development files"