contrib/gtkspell/Pkgfile
2017-11-01 23:35:12 +11:00

28 lines
709 B
Plaintext

# Description: Spell checking utility for GTK+ applications.
# URL: https://gtkspell.sourceforge.net/
# Maintainer: Danny Rawlins, crux at romster dot me
# Packager: Brett Goulder, predatorfreak at dcaf-security dot org
# Depends on: aspell-en enchant gtk xorg-libxdamage
name=gtkspell
version=2.0.16
release=1
source=(https://downloads.sourceforge.net/project/$name/$version/$name-$version.tar.gz)
build() {
cd $name-$version
rm -f $SRC/po/*.{po,gmo}
sed -i \
-e 's/USE_NLS=yes/USE_NLS=no/' \
-e 's/ENABLE_NLS 1/ENABLE_NLS 0/' configure
sed -i -e 's/SUBDIRS = gtkspell examples docs po/SUBDIRS = gtkspell examples po/' Makefile.in
./configure --prefix=/usr
make
make DESTDIR=$PKG install
}