# $Id: PKGBUILD 208762 2014-03-26 20:14:51Z ronald $ # Maintainer: Ronald van Haren # Contributor: Gustavo Sverzut Barbieri pkgbase=elementary pkgname=('elementary' 'elementary-docs') pkgver=1.9.2 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=('7120ace473b539cee73ad84fc173ae928228de26') 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" }