# $Id: PKGBUILD 204342 2014-01-17 09:42:37Z ronald $ # Maintainer: Ronald van Haren # Contributor: Gustavo Sverzut Barbieri pkgbase=elementary pkgname=('elementary' 'elementary-docs') pkgver=1.8.3 pkgrel=1 pkgdesc="Enlightenment's widget set" arch=('i686' 'x86_64') url="http://www.enlightenment.org" license=('BSD') depends=('efl' 'evas_generic_loaders') makedepends=('doxygen' 'imagemagick') options=('!emptydirs') source=(http://download.enlightenment.org/rel/libs/${pkgname}/${pkgname}-${pkgver}.tar.gz) sha1sums=('818b01fb029fa45af41680da5f1aec938ffcc26e') build() { cd "${srcdir}/${pkgname}-${pkgver}" export CFLAGS="$CFLAGS -fvisibility=hidden" ./configure \ --prefix=/usr \ --disable-static make make -j1 doc } package_elementary(){ cd "${srcdir}/${pkgname}-${pkgver}" make DESTDIR=${pkgdir} install # install license files install -Dm644 "${srcdir}/${pkgname}-${pkgver}/COPYING" \ "${pkgdir}/usr/share/licenses/${pkgname}/COPYING" } package_elementary-docs() { pkgdesc="Documentation for Elementary GUI toolkit" 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" }