blob: 203af5328b944dc2c5dd66e958cbb4510022624f (
plain)
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
38
39
40
41
42
43
44
45
46
47
48
49
50
|
# Maintainer: Erich Eckner <arch at eckner dot net>
# Contributor: WorMzy Tykashi <wormzy.tykashi@gmail.com>
# Contributor: FadeMind <fademind@gmail.com>
# Contributor: Richard Jackson <rj@iinet.net.au>
pkgname=abiword-gtk2
_pkgname=abiword
pkgver=3.0.2
pkgrel=6
pkgdesc='Fully-featured word processor, GTk2, No plugins, Lite version'
arch=('i686' 'pentium4' 'x86_64')
license=('GPL')
depends=('fribidi' 'wv' 'librsvg' 'enchant' 'desktop-file-utils' 'gtk2' 'libxslt')
makedepends=('pkgconfig' 'boost')
conflicts=('abiword' 'abiword-plugins')
url='http://www.abisource.com'
source=("$_pkgname-$pkgver.tar.gz::https://www.abisource.com/downloads/$_pkgname/$pkgver/source/$_pkgname-$pkgver.tar.gz"
enchant-2.1.patch)
sha256sums=('afbfd458fd02989d8b0c6362ba8a4c14686d89666f54cfdb5501bd2090cf3522'
'444dc2aadea3c80310a509b690097541573f6d2652c573d04da66a0f385fcfb2')
prepare() {
cd $_pkgname-$pkgver
# Replace deprecated enchant functions
patch -Np1 -i ../enchant-2.1.patch
}
build() {
cd $_pkgname-$pkgver
./configure --prefix=/usr \
--enable-shared \
--disable-static \
--with-gtk2 \
--enable-clipart \
--enable-templates \
--without-redland \
--without-libical \
--disable-builtin-plugins \
--disable-default-plugins \
--disable-collab-backend-service \
--disable-collab-backend-tcp
make -C goffice-bits2
make
}
package() {
cd $_pkgname-$pkgver
make DESTDIR="$pkgdir" install
}
|