summaryrefslogtreecommitdiff
path: root/libre/aspell-pl-libre/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'libre/aspell-pl-libre/PKGBUILD')
-rw-r--r--libre/aspell-pl-libre/PKGBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/libre/aspell-pl-libre/PKGBUILD b/libre/aspell-pl-libre/PKGBUILD
new file mode 100644
index 000000000..f932a95d1
--- /dev/null
+++ b/libre/aspell-pl-libre/PKGBUILD
@@ -0,0 +1,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
+}