diff options
author | Erich Eckner <git@eckner.net> | 2018-06-26 09:28:14 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-06-26 09:28:14 +0200 |
commit | 861db40a54aef2278273fac0529af25cb0b8478c (patch) | |
tree | 811424e8ffed1c9f7f99047fbd6e04112dd4dff3 /abiword-gtk2/PKGBUILD | |
parent | 944c8d40b5c141f093fbf5e9dd7064f9927f9577 (diff) | |
download | archlinuxewe-861db40a54aef2278273fac0529af25cb0b8478c.tar.xz |
abiword-gtk2 new
Diffstat (limited to 'abiword-gtk2/PKGBUILD')
-rw-r--r-- | abiword-gtk2/PKGBUILD | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/abiword-gtk2/PKGBUILD b/abiword-gtk2/PKGBUILD new file mode 100644 index 000000000..4ac90d4ba --- /dev/null +++ b/abiword-gtk2/PKGBUILD @@ -0,0 +1,49 @@ +# Maintainer: 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=2 +pkgdesc='Fully-featured word processor, GTk2, No plugins, Lite version' +arch=('i686' '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::http://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 +} |