updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / umplayer-svn / PKGBUILD
blob728d4e7cfe09ce9e7ca21c96edb2bea984e40dac
1 # Maintainer: grimi <grimi poczta dot fm>
2 pkgname=umplayer-svn
3 pkgver=181
4 pkgrel=1
5 pkgdesc="UMPlayer is the multimedia player that fills all your needs."
6 arch=('i686' 'x86_64')
7 url="http://www.umplayer.com"
8 license=('GPL')
9 depends=('qt>=4.3' 'mplayer' 'xdg-utils')
10 makedepends=('subversion')
11 provides=('umplayer')
12 conflicts=('umplayer')
13 install=$pkgname.install
15 _svntrunk=https://umplayer.svn.sourceforge.net/svnroot/umplayer
16 _svnmod=umplayer
18 build() {
19   cd "$srcdir"
21   if [ -d $_svnmod/.svn ]; then
22     (cd $_svnmod && svn up -r $pkgver)
23   else
24     svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
25   fi
27   msg "SVN checkout done or server timeout"
28   msg "Starting make..."
30   rm -rf "$srcdir/$_svnmod-build"
31   cp -r "$srcdir/$_svnmod/$_svnmod" "$srcdir/$_svnmod-build"
32   cd "$srcdir/$_svnmod-build/trunk"
34   #
35   # BUILD
36   #
37   #./configure --prefix=/usr
38   make PREFIX=/usr
41 package() {
42   cd "$srcdir/$_svnmod-build/trunk"
43   make PREFIX=/usr DESTDIR="$pkgdir/" install
44   rm -fr "$pkgdir"/usr/share/umplayer/themes/*/.svn