contrib/enchant/Pkgfile

22 lines
506 B
Plaintext
Raw Normal View History

2017-11-26 12:24:57 +01:00
# Description: A wrapper library for generic spell checking.
# URL: https://abiword.github.io/enchant/
2014-11-10 13:28:07 +01:00
# Maintainer: Danny Rawlins, crux at romster dot me
# Depends on: aspell glib hunspell
2006-11-14 00:01:22 +01:00
name=enchant
2017-11-26 12:24:57 +01:00
version=2.1.2
release=1
source=(https://github.com/$name/$name/archive/v$version/$name-$version.tar.gz)
2006-11-14 00:01:22 +01:00
build() {
2017-11-26 12:24:57 +01:00
cd $name-$version
2008-05-14 16:57:17 +02:00
./configure \
--prefix=/usr \
2017-11-26 12:24:57 +01:00
--with-myspell-dir=/usr/share/myspell
2008-05-14 16:57:17 +02:00
2017-11-26 12:24:57 +01:00
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
2008-05-14 16:57:17 +02:00
make
2008-03-18 12:06:30 +01:00
make DESTDIR=$PKG install
2006-11-14 00:01:22 +01:00
}