From a3015a9fbf576406156c8931f3807630261a7961 Mon Sep 17 00:00:00 2001 From: Leonardo Arena Date: Fri, 6 Jan 2017 07:08:02 +0000 Subject: community/libreoffice: ship also LibreOfficeKit --- community/libreoffice/APKBUILD | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'community/libreoffice') diff --git a/community/libreoffice/APKBUILD b/community/libreoffice/APKBUILD index afa9760e3a..33f1fd84f9 100644 --- a/community/libreoffice/APKBUILD +++ b/community/libreoffice/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: pkgname=libreoffice pkgver=5.2.3.3 -pkgrel=4 +pkgrel=5 pkgdesc="LibreOffice - Meta package for the full office suite" url="http://www.libreoffice.org/" arch="all" @@ -22,7 +22,7 @@ makedepends="$depends_dev autoconf automake tar coreutils findutils ucpp gperf install="" subpackages="$pkgname-base $pkgname-calc $pkgname-common $pkgname-draw $pkgname-gnome $pkgname-impress $pkgname-math - $pkgname-connector-postgres $pkgname-writer" + $pkgname-connector-postgres $pkgname-writer libreofficekit" depends="$subpackages" _addsrcurl="http://dev-www.libreoffice.org/src" case $pkgver in @@ -248,6 +248,8 @@ build() { sed -i -e 's:-isystem /usr/include[^/]::g' config_host.mk || return 1 make build-nocheck || return 1 + # build libreofficekit + cd libreofficekit && make || return 1 } package() { @@ -300,6 +302,11 @@ impress() { _split impress } +libreofficekit() { + mkdir -p "$subpkgdir"/usr/include + mv "$_builddir"/include/LibreOfficeKit "$subpkgdir"/usr/include || return 1 +} + math() { pkgdesc="LibreOffice - Equation editor" depends="libreoffice-common" -- cgit v1.2.3