updated on Wed Jan 25 16:08:47 UTC 2012
[aur-mirror.git] / flover / PKGBUILD
blobfede760ec81ef5ac314e7dbd7ba8b8fac53da932
1 # Maintainer: Cyril LEVIS <atlas95@gmail.com>
2 # Contributor: atlas95 <atlas95@gmail.com> and marc[il]
3 pkgname=flover
4 pkgver=9
5 pkgrel=4
6 pkgdesc="epiphany extension for download video from youtube or dailymotion"
8 arch=(i686 x86_64)
9 url="http://www.codingteam.net/flover-index.html"
11 provides='epiphany-flover-extension'
12 depends=('epiphany')
13 makedepends=('')
14 source=()
15 md5sums=()
16 conflicts=('epiphany-flover-extension')
17 replaces=('epiphany-flover-extension')
18 license=('GPL')
19 _svntrunk=http://svn.codingteam.net/code/flover/trunk
20 _svnmod=flover
22 build() {
23   cd $startdir/src
24   msg "Connecting to SVN server..."
25   msg "Checking out $_svnmod"
26   svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
27   cd $_svnmod 
28   msg "SVN checkout done or server timeout"
29   msg "Starting build..."
30   cp -r ../$_svnmod ../$_svnmod-build
31   cd ../$_svnmod-build
32   install -d -m755 $startdir/pkg/usr/lib/epiphany/2.18/extensions/
33   install -m755 flover.py flover.ephy-extension $startdir/pkg/usr/lib/epiphany/2.18/extensions/
34   rm -rf $startdir/src/$_svnmod-build