# Maintainer: Johannes Löthberg <johannes@kyriasis.com>
# Contributor: Bartłomiej Piotrowski <barthalion@gmail.com>
# Contributor: Jaroslaw Swierczynski <swiergot@aur.archlinux.org>
# Contributor: Arkadiusz Laczynski <alaczynski@gmail.com>
# Contributor: Jaroslav Lichtblau <svetlemodry@archlinux.org>

pkgname=aspell-pl
pkgver=20210731
pkgrel=1
pkgdesc='Polish dictionary for aspell'
arch=('x86_64')
url="https://www.sjp.pl/slownik/en/"
license=('GPL' 'LGPL' 'MPL' 'CC SA' 'Apache')
depends=('aspell')
source=(https://sources.archlinux.org/other/community/aspell-pl/sjp-aspell6-pl-6.0_$pkgver-0.tar.bz2)
sha256sums=('bd20579c7207311d03dec039c28f01c0762693707dd35ccb8cc48bcf454d054c')

build() {
  cd aspell6-pl-6.0_$pkgver-0

  ./configure
  make
}

package() {
  cd aspell6-pl-6.0_$pkgver-0

  make DESTDIR="$pkgdir" install
}
