[arch-commits] Commit in elementary/trunk (PKGBUILD)

Ronald van Haren ronald at nymeria.archlinux.org
Fri Dec 13 19:06:34 UTC 2013


    Date: Friday, December 13, 2013 @ 20:06:34
  Author: ronald
Revision: 201513

upgpkg: elementary 1.8.1-1

upload e18 libs and e17 wm

Modified:
  elementary/trunk/PKGBUILD

----------+
 PKGBUILD |   61 +++++++++++++++++++++++++++++--------------------------------
 1 file changed, 29 insertions(+), 32 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-12-13 19:06:31 UTC (rev 201512)
+++ PKGBUILD	2013-12-13 19:06:34 UTC (rev 201513)
@@ -2,53 +2,50 @@
 # Maintainer: Ronald van Haren <ronald at archlinux.org>
 # Contributor: Gustavo Sverzut Barbieri <barbieri at gmail.com>
 
-pkgname=elementary
-pkgver=1.7.9
+pkgbase=elementary
+pkgname=('elementary' 'elementary-docs')
+pkgver=1.8.1
 pkgrel=1
 pkgdesc="Enlightenment's widget set"
 arch=('i686' 'x86_64')
 url="http://www.enlightenment.org"
 license=('BSD')
-depends=('edje' 'e_dbus' 'efreet' 'ethumb' 'eio')
+depends=('efl' 'evas_generic_loaders')
+makedepends=('doxygen' 'imagemagick')
 options=('!emptydirs')
-source=(http://download.enlightenment.org/releases/$pkgname-$pkgver.tar.gz)
-sha1sums=('4d68e4f77d6b3471a45a4e33ae3af18d0ca42ab1')
+source=(http://download.enlightenment.org/rel/libs/${pkgname}/${pkgname}-${pkgver}.tar.gz)
+sha1sums=('9b7a10272e6aaeb64370f8abb68ab73db2698763')
 
 build() {
-  cd $srcdir/$pkgname-$pkgver
+  cd "${srcdir}/${pkgname}-${pkgver}"
 
-  export CFLAGS="-fvisibility=hidden -ffunction-sections -fdata-sections ${CFLAGS}"
-  export CXXFLAGS="-fvisibility=hidden -ffunction-sections -fdata-sections ${CXXFLAGS}"
-  export LDFLAGS="-fvisibility=hidden -ffunction-sections -fdata-sections -Wl,--gc-sections -Wl,--as-needed  ${LDFLAGS}"
-
+  export CFLAGS="$CFLAGS -fvisibility=hidden"
+	
   ./configure \
     --prefix=/usr \
-    --libexecdir=/usr/lib/elementary \
-    --with-internal-maximum-log-level=3 \
-    --disable-static \
-    --enable-quick-launch \
-    --enable-emotion \
-    --enable-ecore-x \
-    --enable-ecore-fb \
-    --disable-ecore-sdl \
-    --disable-ecore-wayland \
-    --enable-edbus \
-    --enable-efreet \
-    --disable-eweather \
-    --disable-emap \
-    --enable-ethumb \
-    --disable-debug \
-    --disable-install-examples \
-    --disable-doc
+    --disable-static
   make
+  make -j1 doc
 }
 
-package(){
-  cd $srcdir/$pkgname-$pkgver
-  make DESTDIR=$pkgdir install
+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
+  install -Dm644 "${srcdir}/${pkgname}-${pkgver}/COPYING" \
+        "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
 }
 
+package_elementary-docs() {
+  pkgdesc="Documentation for Elementary GUI toolkit"
+  depends=()
+  arch=('any')
+
+  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"
+}
+
+




More information about the arch-commits mailing list