diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
commit | 415856bdd4f48ab4f2732996f0bae58595092bbe (patch) | |
tree | ede2018b591f6dfb477fe9341ba17b9bc000fab9 /extra/libmythes |
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'extra/libmythes')
-rw-r--r-- | extra/libmythes/PKGBUILD | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/extra/libmythes/PKGBUILD b/extra/libmythes/PKGBUILD new file mode 100644 index 000000000..77ed47352 --- /dev/null +++ b/extra/libmythes/PKGBUILD @@ -0,0 +1,33 @@ +# $Id: PKGBUILD 104337 2011-01-01 13:29:40Z andyrtr $ +# Maintainer: AndyRTR <andyrtr@archlinux.org> + +pkgname=libmythes +pkgver=1.2.1 +pkgrel=1 +pkgdesc="a simple thesaurus" +arch=('i686' 'x86_64') +url="http://hunspell.sourceforge.net/ " +license=('custom') +depends=('glibc' 'perl') +options=('force' '!libtool') +provides=('mythes') +source=(http://downloads.sourceforge.net/hunspell/${pkgname/lib/}-${pkgver}.tar.gz) +md5sums=('54b310488dda6929cf31ae859928c945') + +build() { + cd ${srcdir}/${pkgname/lib/}-$pkgver + ./configure --prefix=/usr --disable-static + make + # run the example program: + ./example th_en_US_new.idx th_en_US_new.dat checkme.lst + # run the example program with stemming and morphological generation: + # e.g. to check mouse, mice, rodents, eats, eaten, ate, eating etc. words + ./example morph.idx morph.dat morph.lst morph.aff morph.dic +} + +package() { + cd ${srcdir}/${pkgname/lib/}-$pkgver + make DESTDIR=$pkgdir install + # license + install -Dm644 ${srcdir}/${pkgname/lib/}-$pkgver/COPYING $pkgdir/usr/share/licenses/$pkgname/COPYING +} |