contrib/gtkspell/Pkgfile

28 lines
709 B
Plaintext
Raw Normal View History

2014-07-07 09:13:01 +02:00
# Description: Spell checking utility for GTK+ applications.
2017-03-12 06:34:49 +01:00
# URL: https://gtkspell.sourceforge.net/
2014-11-10 13:28:07 +01:00
# Maintainer: Danny Rawlins, crux at romster dot me
2014-07-07 09:13:01 +02:00
# Packager: Brett Goulder, predatorfreak at dcaf-security dot org
2017-11-01 13:35:12 +01:00
# Depends on: aspell-en enchant gtk xorg-libxdamage
2014-07-07 09:13:01 +02:00
name=gtkspell
version=2.0.16
release=1
2017-03-12 08:48:30 +01:00
source=(https://downloads.sourceforge.net/project/$name/$version/$name-$version.tar.gz)
2014-07-07 09:13:01 +02:00
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
}