1 # Maintainer: fauno <fauno@kiwwwi.com.ar>
2 # Based on xulrunner by
3 # Contributor: Alexander Baldeck <alexander@archlinux.org>
4 # Contributor: Jan de Groot <jgc@archlinux.org>
10 pkgdesc="Prism is an application that lets users split web applications out of their browser and run them directly on their desktop."
12 license=('MPL' 'GPL' 'LGPL')
13 depends=("xulrunner>=${_xulver}")
14 makedepends=('subversion')
17 url="https://mozillalabs.com/prism/"
18 source=(http://releases.mozilla.org/pub/mozilla.org/firefox/releases/${_ffoxver}/source/firefox-${_ffoxver}.source.tar.bz2
21 _svnroot="http://svn.mozilla.org/projects/webrunner/trunk"
25 cd "${srcdir}/mozilla-${_xulver}"
26 cp "${srcdir}/mozconfig" .mozconfig
29 svn co $_svnroot $_svntrunk
34 make -j1 -f client.mk build MOZ_MAKE_FLAGS="$MAKEFLAGS" || return 1
38 cd ${srcdir}/mozilla-${_xulver}/mozilla-obj/prism/dist/bin
40 install -dm755 ${pkgdir}/usr/{bin,lib/${_svntrunk}-${pkgver}}
42 cp -rL {chrome,components,defaults,extensions,modules,nsinstall,prism,application.ini,run-mozilla.sh} ${pkgdir}/usr/lib/${_svntrunk}-${pkgver}/
44 ln -s /usr/lib/${_svntrunk}-${pkgver}/prism ${pkgdir}/usr/bin/
46 md5sums=('0ee5f14fd8be07513d16131027ebcb61'
47 '89f3e53b8a00b52fb9b0d78b5a1c55a1')