OCaml 5.0.0 rebuild: Fix Pervasives deprecation
[arch-packages.git] / elementary / trunk / PKGBUILD
blob3edf4f0c4ddeab653f154b777b48d6dfcf9ae02d
1 # Maintainer: Ronald van Haren <ronald@archlinux.org>
2 # Contributor: Gustavo Sverzut Barbieri <barbieri@gmail.com>
4 pkgbase=elementary
5 pkgname=('elementary' 'elementary-docs')
6 pkgver=1.17.1
7 pkgrel=1
8 pkgdesc="Enlightenment's widget set"
9 arch=('x86_64')
10 url="http://www.enlightenment.org"
11 license=('BSD')
12 depends=('efl' 'evas_generic_loaders')
13 makedepends=('doxygen' 'imagemagick' 'texlive-core' 'ghostscript')
14 options=('!emptydirs')
15 source=(http://download.enlightenment.org/rel/libs/${pkgname}/${pkgname}-${pkgver}.tar.gz)
16 sha1sums=('87df0183b91c623716a4d283f4147dd8815f5a24')
18 build() {
19   cd "${srcdir}/${pkgname}-${pkgver}"
21   export CFLAGS="$CFLAGS -fvisibility=hidden"
23   ./configure \
24     --prefix=/usr \
25     --disable-static
26   make
27   #make -j1 doc # building docs hangs the compilation
28   cd doc
29   doxygen
32 package_elementary(){
33   cd "${srcdir}/${pkgname}-${pkgver}"
34   make DESTDIR=${pkgdir} install
36   # install license files
37   install -Dm644 "${srcdir}/${pkgname}-${pkgver}/COPYING" \
38         "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
41 package_elementary-docs() {
42   pkgdesc="Documentation for Elementary GUI toolkit"
43   depends=()
45   cd "${srcdir}/${pkgbase}-${pkgver}"
46   install -d "${pkgdir}/usr/share/doc/${pkgbase}"
47   cp -a doc/html "${pkgdir}/usr/share/doc/${pkgbase}/html"
48   cp -a doc/latex "${pkgdir}/usr/share/doc/${pkgbase}/latex"