updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / smplayer-themes-svn / PKGBUILD
blobbab0fb01f0d8b3f35fc209329e511e34f4283e0f
1 # Maintainer: kfgz <kfgz at interia dot pl>
2 # Contributor: Emanuele Rossi <nuovodna at gmail dot com>
4 pkgname=smplayer-themes-svn
5 pkgver=3549
6 pkgrel=1
7 pkgdesc="Themes for smplayer - svn version"
8 url="http://smplayer.sourceforge.net/"
9 license=('GPL')
10 arch=('i686' 'x86_64')
11 depends=('smplayer')
12 makedepends=('subversion')
13 conflicts=('smplayer-themes')
14 provides=('smplayer-themes')
16 _svntrunk=https://smplayer.svn.sourceforge.net/svnroot/smplayer/smplayer-themes/trunk
17 _svnmod=smplayer-themes
19 build() {
20   cd "${srcdir}"
22   if [ -d ${_svnmod}/.svn ]; then
23     (cd ${_svnmod} && svn up -r ${pkgver})
24   else
25     svn co ${_svntrunk} --config-dir ./ -r ${pkgver} ${_svnmod}
26   fi
28   msg "SVN checkout done or server timeout"
29   msg "Starting make..."
31   rm -rf "${srcdir}/${_svnmod}-build"
32   
33   cd ${_svnmod}
35   make PREFIX=${pkgdir}/usr CONF_PREFIX=
38 package() {
39   cd ${_svnmod}
40   make PREFIX=${pkgdir}/usr install