diff options
author | Britney Fransen <brfransen@gmail.com> | 2018-03-07 14:28:10 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2018-03-07 14:28:10 (GMT) |
commit | 52248b591f39bef2c18f11648f4b5577ccaae28e (patch) | |
tree | b2583a23a4fabc1c58e7afc9e22752170e7d64eb /abs/extra | |
parent | 9db0dcfbc67598a7dfd1ce9f2fe833d73a3557e3 (diff) | |
download | linhes_pkgbuild-52248b591f39bef2c18f11648f4b5577ccaae28e.zip linhes_pkgbuild-52248b591f39bef2c18f11648f4b5577ccaae28e.tar.gz linhes_pkgbuild-52248b591f39bef2c18f11648f4b5577ccaae28e.tar.bz2 |
libmythes: dep of lyx
Diffstat (limited to 'abs/extra')
-rw-r--r-- | abs/extra/libmythes/PKGBUILD | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/abs/extra/libmythes/PKGBUILD b/abs/extra/libmythes/PKGBUILD new file mode 100644 index 0000000..f4aac41 --- /dev/null +++ b/abs/extra/libmythes/PKGBUILD @@ -0,0 +1,38 @@ +# $Id$ +# Maintainer: AndyRTR <andyrtr@archlinux.org> + +pkgname=libmythes +pkgver=1.2.4 +pkgrel=2 +epoch=1 +pkgdesc="a simple thesaurus" +arch=('x86_64') +url="http://hunspell.sourceforge.net/ " +license=('custom') +depends=('glibc' 'perl') +makedepends=('hunspell') +provides=('mythes') +source=(http://downloads.sourceforge.net/hunspell/${pkgname/lib/}-${pkgver}.tar.gz) +sha1sums=('c038831d84882cdf639e038e44decb1e40527591') + +build() { + cd ${pkgname/lib/}-$pkgver + ./configure --prefix=/usr --disable-static + make +} + +check() { + cd ${pkgname/lib/}-$pkgver + # 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 ${pkgname/lib/}-$pkgver + make DESTDIR=$pkgdir install + # license + install -Dm644 ${srcdir}/${pkgname/lib/}-$pkgver/COPYING $pkgdir/usr/share/licenses/$pkgname/COPYING +} |