aboutsummaryrefslogtreecommitdiffstats
path: root/main/aspell-de/APKBUILD
diff options
context:
space:
mode:
authorTBK <tbk@jjtc.dk>2018-04-14 14:54:19 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2018-04-23 19:49:33 +0000
commitecb4bb608e9692c4d428aa3e87e2f8955b47422b (patch)
treed3e7f43b01447dbd76c3fb07ee75e57f97f6aae3 /main/aspell-de/APKBUILD
parent07540e8fbb325fe90b8e5e567d55e1505f0dfa3d (diff)
downloadaports-ecb4bb608e9692c4d428aa3e87e2f8955b47422b.tar.bz2
aports-ecb4bb608e9692c4d428aa3e87e2f8955b47422b.tar.xz
main/aspell-de: modernize
Diffstat (limited to 'main/aspell-de/APKBUILD')
-rw-r--r--main/aspell-de/APKBUILD21
1 files changed, 11 insertions, 10 deletions
diff --git a/main/aspell-de/APKBUILD b/main/aspell-de/APKBUILD
index 49b83ea848..c43f2283f5 100644
--- a/main/aspell-de/APKBUILD
+++ b/main/aspell-de/APKBUILD
@@ -2,26 +2,27 @@
pkgname=aspell-de
pkgver=20030222
pkgrel=1
+_lang=${pkgname##*-}
+_name=${pkgname%%-*}6-$_lang-$pkgver-1
pkgdesc="German 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/de/aspell6-de-$pkgver-1.tar.bz2"
+source="https://ftp.gnu.org/gnu/aspell/dict/$_lang/$_name.tar.bz2"
+builddir="$srcdir"/$_name
-_builddir="$srcdir"/aspell6-de-$pkgver-1
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="5950c5c8a36fc93d4d7616591bace6a6 aspell6-de-20030222-1.tar.bz2"
-sha256sums="ba6c94e11bc2e0e6e43ce0f7822c5bba5ca5ac77129ef90c190b33632416e906 aspell6-de-20030222-1.tar.bz2"
sha512sums="2005b56938565b11b761ace31006c1accfd32d401685cc5676cc4d85406bedda81b1df062949359f1bd6972073d3713204d87c7f81d9535fa956cdf130dd8db6 aspell6-de-20030222-1.tar.bz2"