summaryrefslogtreecommitdiff
path: root/community/aspell-uk/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/aspell-uk/PKGBUILD')
-rw-r--r--community/aspell-uk/PKGBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/community/aspell-uk/PKGBUILD b/community/aspell-uk/PKGBUILD
new file mode 100644
index 000000000..f3252b56a
--- /dev/null
+++ b/community/aspell-uk/PKGBUILD
@@ -0,0 +1,36 @@
+# $Id: PKGBUILD 43281 2011-03-24 13:28:23Z andrea $
+# Maintainer : Roman Kyrylych <roman@archlinux.org>
+
+pkgname=aspell-uk
+pkgver=1.6.0
+_ftpver=1.4.0
+pkgrel=3
+pkgdesc="Ukrainian dictionary for aspell"
+arch=('i686' 'x86_64')
+url="http://ispell-uk.sourceforge.net/"
+license=('GPL' 'LGPL' 'MPL')
+depends=('aspell')
+source=(ftp://ftp.gnu.org/gnu/aspell/dict/uk/aspell6-uk-${_ftpver}-0.tar.bz2
+ http://downloads.sourceforge.net/ispell-uk/spell-uk-$pkgver.tgz)
+md5sums=('662f15381d11581758866fd7af43b4d7'
+ '4177ed3e196e6511513cf358c4a42e1a')
+
+build() {
+ # needed when using a source package from ispell-uk project
+ cd ${srcdir}/spell-uk-$pkgver
+ make
+
+ cd ${srcdir}/aspell6-uk-${_ftpver}-0
+ ./configure
+ make
+
+ # needed when using a source package from ispell-uk project
+ mv ${srcdir}/spell-uk-$pkgver/dist/aspell-uk-$pkgver/* \
+ ${srcdir}/aspell6-uk-${_ftpver}-0
+}
+
+package() {
+ cd ${srcdir}/aspell6-uk-${_ftpver}-0
+
+ make DESTDIR="$pkgdir" install
+}