summaryrefslogtreecommitdiff
path: root/libre/aspell-pl-libre/PKGBUILD
blob: f932a95d1d573035f8c902c71ce0d95992bf12d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Parabola maintainer: Michał Masłowski <mtjm@mtjm.eu>
# $Id: PKGBUILD 43278 2011-03-24 13:25:37Z andrea $
# Maintainer: Jaroslaw Swierczynski <swiergot@aur.archlinux.org>
# Contributor: Arkadiusz Laczynski <alaczynski@gmail.com>

pkgname=aspell-pl-libre
pkgver=20110907
pkgrel=1
pkgdesc="Polish dictionary for aspell"
arch=('i686' 'x86_64')
url="http://www.sjp.pl/slownik/en/"
license=('GPL' 'LGPL' 'MPL')
depends=('aspell')
replaces=('aspell-pl')
conflicts=('aspell-pl')
provides=('aspell-pl')
_sourcename=sjp-aspell6-pl-6.0_$pkgver-0.tar.bz2
source=("http://repo.parabolagnulinux.org/other/${_sourcename}")
md5sums=('e1bb7627b553666ff6703bfbc3528c1a')

# Upstream publishes only the newest daily snapshot of the source, so
# we need to mirror it.
mksource() {
  [ -f ${_sourcename} ] || wget http://sjp.pl/slownik/ort/${_sourcename}
}

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

  ./configure
  make
  make DESTDIR="$pkgdir" install
}