Skip to content
Snippets Groups Projects
Commit 2fa0cf9a authored by Fabian Affolter's avatar Fabian Affolter Committed by Natanael Copa
Browse files

main/abiword: specify license

parent a9461bda
No related merge requests found
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=abiword
pkgver=3.0.0
pkgrel=0
pkgrel=1
pkgdesc="A fully-featured word processor"
url="http://www.abisource.com"
arch="all"
license="GPL"
license="GPL2+"
makedepends="gtk+3.0-dev libgsf-dev enchant-dev fribidi-dev wv-dev
popt-dev libjpeg-turbo-dev librsvg-dev bzip2-dev goffice-dev pcre-dev
libxslt-dev"
......@@ -16,7 +16,6 @@ makedepends="$makedepends boost-dev"
# collab plugin
makedepends="$makedepends gnutls-dev libsoup-dev dbus-glib-dev"
subpackages="$pkgname-dev $pkgname-doc $pkgname-plugins"
_plugins="applix babelfish bmp clarisworks collab docbook eml epub
......@@ -32,8 +31,9 @@ done
source="http://www.abisource.com/downloads/$pkgname/$pkgver/source/$pkgname-$pkgver.tar.gz
"
_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
cd "$srcdir"/$pkgname-$pkgver
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
......@@ -42,7 +42,7 @@ prepare() {
}
build() {
cd "$srcdir"/$pkgname-$pkgver
cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
......@@ -56,7 +56,7 @@ build() {
# ="opendocument goffice latex" \
package() {
cd "$srcdir"/$pkgname-$pkgver
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
rm "$pkgdir"/usr/lib/abiword*/plugins/*.la \
"$pkgdir"/usr/lib/*.la || return 1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment