aboutsummaryrefslogtreecommitdiffstats
path: root/main/aspell-uk
diff options
context:
space:
mode:
authorTBK <tbk@jjtc.dk>2018-04-14 14:59:50 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2018-04-23 19:50:22 +0000
commit312453560c87b091b423fe140d526ec7425db2dc (patch)
tree50d1a8a22b313c0608c572e0840449ab6ab1cbb8 /main/aspell-uk
parentecb4bb608e9692c4d428aa3e87e2f8955b47422b (diff)
downloadaports-312453560c87b091b423fe140d526ec7425db2dc.tar.bz2
aports-312453560c87b091b423fe140d526ec7425db2dc.tar.xz
main/aspell-uk: modernize
Diffstat (limited to 'main/aspell-uk')
-rw-r--r--main/aspell-uk/APKBUILD21
1 files changed, 11 insertions, 10 deletions
diff --git a/main/aspell-uk/APKBUILD b/main/aspell-uk/APKBUILD
index b20ee28d16..4755219613 100644
--- a/main/aspell-uk/APKBUILD
+++ b/main/aspell-uk/APKBUILD
@@ -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"