Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=6757dbd188607b8788a8673a7f59dd8beec63534

commit 6757dbd188607b8788a8673a7f59dd8beec63534
Author: Devil505 <devil505li...@gmail.com>
Date:   Sat Sep 4 14:50:10 2010 +0200

lightning-1.0b2rc3-1-i686
* new package (replacing sunbird)

diff --git a/source/xapps-extra/lightning/FrugalBuild 
b/source/xapps-extra/lightning/FrugalBuild
new file mode 100644
index 0000000..ad7616e
--- /dev/null
+++ b/source/xapps-extra/lightning/FrugalBuild
@@ -0,0 +1,43 @@
+# Compiling Time: 10.88 SBU
+# Maintainer: Devil505 <devil505li...@gmail.com>
+
+pkgname=lightning
+pkgver=1.0b2rc3
+pkgrel=1
+pkgdesc="An integrated calendar extension for Mozilla Thunderbird"
+url="http://www.mozilla.org/projects/calendar/lightning/";
+depends=('thunderbird' 'libnotify')
+makedepends=('pkgconfig' 'zip')
+groups=('xapps-extra')
+archs=('i686' 'x86_64' 'ppc')
+up2date=" Flasttar 
http://releases.mozilla.org/pub/mozilla.org/calendar/$pkgname/releases/$pkgver/source/
 | sed 's/.source//g' | sed 's/b2/b2rc3/g'"
+source=(http://releases.mozilla.org/pub/mozilla.org/calendar/$pkgname/releases/$pkgver/source/$pkgname-${pkgver//rc3/}.source.tar.bz2)
+Fconfopts="${fconfop...@]} --enable-application=mail --enable-calendar"
+sha1sums=('4fd2d66465b4d44bc98594a5fe189c9e49ef6cb3')
+
+replaces=('sunbird' ' sunbird-ca' 'sunbird-cs' 'sunbird-da 0.9-2' 'sunbird-de 
0.9-2' \
+       'sunbird-es-ar' 'sunbird-es-es' 'sunbird-eu' 'sunbird-fr' 
'sunbird-ga-ie' \
+       'sunbird-hu' 'sunbird-i18n' 'sunbird-is' 'sunbird-it' 'sunbird-ja' 
'sunbird-ja-jp-mac' \
+       'sunbird-ka' 'sunbird-ko' 'sunbird-lt' 'sunbird-nb-n' 'sunbird-nl' 
'sunbird-nn-no' \
+       'sunbird-pl' 'sunbird-pt-br' 'sunbird-pt-pt' 'sunbird-ro' 'sunbird-ru' 
'sunbird-sk' \
+       'sunbird-sl' 'sunbird-sv-se' 'sunbird-uk' 'sunbird-zh-cn' 
'sunbird-zh-tw')
+_F_cd_path="comm-1.9.2"
+
+build() {
+  Fcd
+  Fmake
+
+  _emid=`grep em:id 
$Fsrcdir/$_F_cd_path/mozilla/dist/xpi-stage/lightning/install.rdf | tail -n1 | 
sed 's/.*>\(.*\)<.*/\1/'`
+  Fmkdir usr/lib/thunderbird/extensions/$_emid
+  cd $Fdestdir/usr/lib/thunderbird/extensions/$_emid || Fdie
+
+  bsdtar -x -f $Fsrcdir/$_F_cd_path/mozilla/dist/xpi-stage/lightning.xpi || 
Fdie
+
+  # Fix permissions
+  find -type d -exec chmod 0755 \{\} \+ || Fdie
+  find -type f -exec chmod 0644 \{\} \+ || Fdie
+  find -name '*.so' -exec chmod 0755 \{\} \+
+}
+
+# optimization OK
+
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to