blob: a67f38fe99fa45c245b68c91a0d3c85e14f207a5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
# Creator: Flamelab <panosfilip@gmail.com>
# Parts have been adopted by the previous contributor, AddictedToChaos and by the user "urandom"
# Fixes by: WAntilles <wantilles@adslgr.com>
pkgname=smplayer-svn
pkgver=3238
pkgrel=1
_latestver=0.6.8
pkgdesc="A complete front-end for MPlayer"
arch=('i686' 'x86_64')
url="http://smplayer.sourceforge.net/"
license=('GPL')
depends=('qt>=4.5.2' 'mplayer>=29411')
makedepends=('subversion')
conflicts=('smplayer')
provides=("smplayer=${_latestver}")
source=()
md5sums=()
_svnmod="smplayer"
_svntrunk=https://smplayer.svn.sourceforge.net/svnroot/smplayer/smplayer/trunk/
build()
{
cd "${srcdir}"
if [ -d $_svnmod/.svn ]; then
(cd $_svnmod && svn up -r $pkgver)
else
svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
fi
msg "SVN checkout done or server timeout"
msg "Starting make..."
if [ -d $_svnmod-build ];then
rm -r $_svnmod-build
fi
cp -r $_svnmod $_svnmod-build
cd $_svnmod-build
sed -i 's/PREFIX=.*/PREFIX=\/usr/' Makefile || return 1
make || return 1
make PREFIX=/usr DESTDIR="${pkgdir}/" install
}
|