aboutsummaryrefslogtreecommitdiffstats
path: root/main/aspell-ru
diff options
context:
space:
mode:
authorTBK <tbk@jjtc.dk>2018-04-14 15:05:07 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2018-04-23 19:51:01 +0000
commit2316d4ac5a81ba393d968d60c16701ca49c37a85 (patch)
treeb543db7267060a07acb149b3c6f354d271d4fe2b /main/aspell-ru
parent312453560c87b091b423fe140d526ec7425db2dc (diff)
downloadaports-2316d4ac5a81ba393d968d60c16701ca49c37a85.tar.bz2
aports-2316d4ac5a81ba393d968d60c16701ca49c37a85.tar.xz
main/aspell-ru: modernize
Diffstat (limited to 'main/aspell-ru')
-rw-r--r--main/aspell-ru/APKBUILD14
1 files changed, 7 insertions, 7 deletions
diff --git a/main/aspell-ru/APKBUILD b/main/aspell-ru/APKBUILD
index 1e5691d478..d6e6636d43 100644
--- a/main/aspell-ru/APKBUILD
+++ b/main/aspell-ru/APKBUILD
@@ -1,19 +1,18 @@
# Contributor: Valery Kartel <valery.kartel@gmail.com>
# Maintainer: Valery Kartel <valery.kartel@gmail.com>
pkgname=aspell-ru
-pkgver=0.99f7.1
+pkgver=0.99f7
pkgrel=0
+_lang=${pkgname##*-}
+_name=${pkgname%%-*}6-$_lang-$pkgver-1
pkgdesc="Russian dictionary for aspell"
-_pkgname=aspell6-ru
-_pkgver=0.99f7-1
url="http://aspell.net/"
arch="noarch"
license="GPL-2.0"
-options="!check"
-depends=""
+options="!check" # No test suite
makedepends="aspell-dev"
-source="ftp://ftp.gnu.org/gnu/aspell/dict/ru/$_pkgname-$_pkgver.tar.bz2"
-builddir="$srcdir/$_pkgname-$_pkgver"
+source="https://ftp.gnu.org/gnu/aspell/dict/$_lang/$_name.tar.bz2"
+builddir="$srcdir"/$_name
build () {
cd "$builddir"
@@ -24,6 +23,7 @@ build () {
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
+ install -D -m644 Copyright "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}
sha512sums="789fe15f5502b54008a41f2afb5635dcb7bb0a36e61b300ee48b2429c339793f5c4808d6063f13f1f8455ce251912433890e7d01ca59d8b0924ecd2987ceb430 aspell6-ru-0.99f7-1.tar.bz2"