/
spkgbuild
37 lines (32 loc) · 1.15 KB
/
spkgbuild
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# description : Fully featured yet light and fast cross platform word processor
# homepage : http://www.abisource.com
# depends : wv fribidi glib libgcrypt libxslt librsvg libgsf libpng libjpeg-turbo cairo gtk3 boost perl pkgconf
name=abiword
version=3.0.5
release=2
source="$name-$version.tar.bz2::https://gitlab.gnome.org/World/AbiWord/-/archive/release-$version/AbiWord-release-$version.tar.bz2 enchant.patch"
_plugins="applix babelfish bmp clarisworks collab docbook command eml epub \
freetranslation garble gdict gimp google hancom hrtext iscii kword latex \
loadbindings mht mif mswrite openwriter openxml opml paint passepartout \
pdb pdf presentation s5 sdw t602 urldict wikipedia wml xslfo"
build() {
cd AbiWord-release-$version
patch -Np1 -i $SRC/enchant.patch
./autogen.sh
./configure \
--prefix=/usr \
--disable-maintainer-mode \
--enable-plugins="$_plugins" \
--disable-static \
--disable-default-plugins \
--disable-builtin-plugins \
--disable-collab-backend-telepathy \
--enable-clipart \
--enable-statusbar \
--enable-templates \
--with-gio \
--without-gnomevfs \
--without-gtk2
make
make DESTDIR=$PKG install
}