blob: ea39f3745f51ef272351f1ef12153c28b0d5c255 (
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
|
# $Id: PKGBUILD 210616 2014-04-15 20:35:29Z ronald $
# Maintainer: Ronald van Haren <ronald@archlinux.org>
# Contributor: Gustavo Sverzut Barbieri <barbieri@gmail.com>
pkgbase=elementary
pkgname=('elementary' 'elementary-docs')
pkgver=1.9.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=('19f708c2e6c3ae40cf233e135a8936111d7bda42')
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"
}
|