Commit 31245356 authored by TBK's avatar TBK Committed by Natanael Copa

main/aspell-uk: modernize

parent ecb4bb60
......@@ -2,26 +2,27 @@
pkgname=aspell-uk
pkgver=1.4.0
pkgrel=1
_lang=${pkgname##*-}
_name=${pkgname%%-*}6-$_lang-$pkgver-0
pkgdesc="Ukrainian dictionary for aspell"
url="http://aspell.net/"
arch="noarch"
license="GPL-2.0"
depends=""
options="!check" # No test suite
makedepends="aspell-dev"
source="ftp://ftp.gnu.org/gnu/aspell/dict/uk/aspell6-uk-$pkgver-0.tar.bz2"
source="https://ftp.gnu.org/gnu/aspell/dict/$_lang/$_name.tar.bz2"
builddir="$srcdir"/$_name
_builddir="$srcdir"/aspell6-uk-$pkgver-0
build () {
cd "$_builddir"
./configure || return 1
make || return 1
cd "$builddir"
./configure
make
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
cd "$builddir"
make DESTDIR="$pkgdir" install
install -D -m644 Copyright "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}
md5sums="662f15381d11581758866fd7af43b4d7 aspell6-uk-1.4.0-0.tar.bz2"
sha256sums="35f9a7e840c1272706bc6dd172bc9625cbd843d021094da8598a6abba525f18c aspell6-uk-1.4.0-0.tar.bz2"
sha512sums="2e66465d17695dd3147241f13d611571f8a80a15886c69728d2f34019fb4834e56e4c0834d9e898927522b54d75f78a32dd3435b2c16eb86cf9cfa11070f0799 aspell6-uk-1.4.0-0.tar.bz2"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment