blob: 0e2a1ec8951014102e3381b20304523ffbe6db57 (
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
55
56
57
58
59
60
61
62
63
|
# $Id: PKGBUILD 204339 2014-01-17 09:41:33Z ronald $
# Maintainer: Ronald van Haren <ronald@archlinux.org>
# Contributor: Enlightenment Developers <enlightenment-devel@enlightenment.org>
pkgbase=efl
pkgname=('efl' 'efl-docs')
pkgver=1.8.4
pkgrel=1
pkgdesc="Enlightenment Foundation Libraries"
arch=('i686' 'x86_64')
url="http://www.enlightenment.org"
license=('BSD' 'LGPL2.1' 'GPL2' 'custom')
depends=('bullet' 'libjpeg-turbo' 'gstreamer0.10-base-plugins'
'lua' 'curl' 'fribidi' 'libpulse' 'libxcomposite'
'libxinerama' 'libxrandr' 'libxss' 'python2'
'libxcursor' 'libxp' 'libwebp' 'shared-mime-info')
makedepends=('doxygen')
replaces=('ecore' 'edje' 'eet' 'eeze' 'efreet' 'eina' 'eio' 'embryo'
'emotion' 'ethumb' 'evas')
options=('!emptydirs')
source=(http://download.enlightenment.org/rel/libs/${pkgname}/$pkgname-$pkgver.tar.gz)
install=efl.install
sha1sums=('48f8c82931153eef23ad9e694be4ed8f7ba857a1')
prepare() {
sed -i 's/env python$/&2/' "${srcdir}/${pkgname}-${pkgver}/src/scripts/eina/eina-bench-cmp"
}
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
export CFLAGS="$CFLAGS -fvisibility=hidden"
./configure --prefix=/usr \
--disable-static --disable-tslib --enable-fb \
--enable-xinput22 --enable-multisense --enable-systemd \
--enable-image-loader-webp --enable-harfbuzz
make
make -j1 doc
}
package_efl(){
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR=${pkgdir} install
# install non-standard license files
install -Dm644 "${srcdir}/${pkgname}-${pkgver}/licenses/COPYING.BSD" \
"${pkgdir}/usr/share/licenses/${pkgname}/COPYING.BSD"
install -Dm644 "${srcdir}/${pkgname}-${pkgver}/licenses/COPYING.SMALL" \
"${pkgdir}/usr/share/licenses/${pkgname}/COPYING.SMALL"
}
package_efl-docs() {
pkgdesc="Documentation for the Enlightenment Foundation Libraries"
depends=()
cd "${srcdir}/${pkgbase}-${pkgver}"
install -d "${pkgdir}/usr/share/doc/${pkgbase}"
cp -a doc/html "${pkgdir}/usr/share/doc/${pkgbase}/html"
cp -a doc/latex "${pkgdir}/usr/share/doc/${pkgbase}/latex"
}
|