core/libetonyek/PKGBUILD

39 lines
1.1 KiB
Bash
Raw Normal View History

2014-10-07 04:57:04 +08:00
pkgname=libetonyek
2016-02-18 11:15:02 +08:00
pkgver=0.1.6
2017-10-25 04:16:58 +08:00
pkgrel=4
2014-10-07 04:57:04 +08:00
pkgdesc='Library and a set of tools for reading and converting Apple Keynote presentations'
arch=('x86_64')
2017-06-02 09:21:00 +08:00
url='https://wiki.documentfoundation.org/DLP/Libraries/libetonyek'
2014-10-07 04:57:04 +08:00
license=('MPL')
2016-02-18 11:15:02 +08:00
depends=('libxml2' 'zlib' 'libwpd' 'boost-libs' 'librevenge' 'liblangtag')
makedepends=('boost' 'cppunit' 'gperf' 'doxygen' 'glm' 'mdds')
2017-06-02 09:21:00 +08:00
source=(http://dev-www.libreoffice.org/src/${pkgname}/${pkgname}-${pkgver}.tar.xz
2017-10-25 04:16:58 +08:00
0001-Allow-building-with-mdds-1.2.patch
0001-drop-test-that-violates-Unicode-tr-35.patch)
2017-06-02 09:21:00 +08:00
md5sums=('dfe25b0c7739283a5c61a930ea1f9bf8'
2017-10-25 04:16:58 +08:00
'0635b9c27717596828ac32d9e0521eb3'
'aa201a5d1058122f523685c3f47bb5ae')
2017-06-02 09:21:00 +08:00
prepare() {
cd ${pkgname}-${pkgver}
patch -Np1 -i ../0001-Allow-building-with-mdds-1.2.patch
2017-10-25 04:16:58 +08:00
patch -Np1 -i ../0001-drop-test-that-violates-Unicode-tr-35.patch
autoreconf -vfi
2017-06-02 09:21:00 +08:00
}
2014-10-07 04:57:04 +08:00
build() {
2015-05-25 06:51:04 +08:00
cd ${pkgname}-${pkgver}
2017-06-02 09:21:00 +08:00
./configure --prefix=/usr --with-mdds=1.2
2014-10-07 04:57:04 +08:00
make
}
check() {
2015-05-25 06:51:04 +08:00
cd ${pkgname}-${pkgver}
2014-10-07 04:57:04 +08:00
make check
}
package() {
2015-05-25 06:51:04 +08:00
cd ${pkgname}-${pkgver}
make DESTDIR="${pkgdir}" install
2014-10-07 04:57:04 +08:00
}