blob: 6895ccabff35832941e3a1a2b694c9deb74163a1 (
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
51
52
53
54
|
# Contributor: Timo Teräs <timo.teras@iki.fi>
# Maintainer: Timo Teräs <timo.teras@iki.fi>
pkgname=libetonyek
pkgver=0.1.2
pkgrel=0
pkgdesc="Import filter and tools for Apple Keynote presentations"
url="https://wiki.documentfoundation.org/DLP/Libraries/libetonyek"
arch="all"
license="MPL2"
depends=""
depends_dev="glm-dev boost-dev librevenge-dev libxml2-dev zlib-dev"
makedepends="$depends_dev gperf doxygen"
install=""
subpackages="$pkgname-dev $pkgname-doc $pkgname-tools"
source="http://dev-www.libreoffice.org/src/$pkgname/$pkgname-$pkgver.tar.xz"
_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--localstatedir=/var \
|| return 1
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
}
tools() {
mkdir -p "$subpkgdir"/usr
mv "$pkgdir"/usr/bin "$subpkgdir"/usr
}
md5sums="c74195efe487a495aba090bf39d072d3 libetonyek-0.1.2.tar.xz"
sha256sums="58d078a76c3fd839c282244a1a7dabca81cef64be086a5c7d8470bb64208da39 libetonyek-0.1.2.tar.xz"
sha512sums="9d1ca586c313f93b31a19a47e9a050bbc5be8cac385d16f3060353b26de86ddb35a2d72694ec6d0ad043a108a7fe5d451dcd205db96822a0c0ce32a101b20e80 libetonyek-0.1.2.tar.xz"
|