mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 05:17:07 +02:00
main/aspell-uk: modernize
This commit is contained in:
parent
ecb4bb608e
commit
312453560c
@ -2,26 +2,27 @@
|
|||||||
pkgname=aspell-uk
|
pkgname=aspell-uk
|
||||||
pkgver=1.4.0
|
pkgver=1.4.0
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
|
_lang=${pkgname##*-}
|
||||||
|
_name=${pkgname%%-*}6-$_lang-$pkgver-0
|
||||||
pkgdesc="Ukrainian dictionary for aspell"
|
pkgdesc="Ukrainian dictionary for aspell"
|
||||||
url="http://aspell.net/"
|
url="http://aspell.net/"
|
||||||
arch="noarch"
|
arch="noarch"
|
||||||
license="GPL-2.0"
|
license="GPL-2.0"
|
||||||
depends=""
|
options="!check" # No test suite
|
||||||
makedepends="aspell-dev"
|
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 () {
|
build () {
|
||||||
cd "$_builddir"
|
cd "$builddir"
|
||||||
./configure || return 1
|
./configure
|
||||||
make || return 1
|
make
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd "$_builddir"
|
cd "$builddir"
|
||||||
make DESTDIR="$pkgdir" install || return 1
|
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"
|
sha512sums="2e66465d17695dd3147241f13d611571f8a80a15886c69728d2f34019fb4834e56e4c0834d9e898927522b54d75f78a32dd3435b2c16eb86cf9cfa11070f0799 aspell6-uk-1.4.0-0.tar.bz2"
|
||||||
|
Loading…
Reference in New Issue
Block a user