diff options
Diffstat (limited to 'smplayer-svn')
-rw-r--r-- | smplayer-svn/PKGBUILD | 47 | ||||
-rw-r--r-- | smplayer-svn/smplayer-svn.install | 12 |
2 files changed, 59 insertions, 0 deletions
diff --git a/smplayer-svn/PKGBUILD b/smplayer-svn/PKGBUILD new file mode 100644 index 0000000..a67f38f --- /dev/null +++ b/smplayer-svn/PKGBUILD @@ -0,0 +1,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 +}
\ No newline at end of file diff --git a/smplayer-svn/smplayer-svn.install b/smplayer-svn/smplayer-svn.install new file mode 100644 index 0000000..25ab05f --- /dev/null +++ b/smplayer-svn/smplayer-svn.install @@ -0,0 +1,12 @@ +post_install() { + cat <<-EndOfMessage + >>> If you want dvdvav support, check here: + >>> http://smplayer.berlios.de/forums/viewtopic.php?pid=4124 + EndOfMessage + /bin/true +} + +post_upgrade() { + post_install +} + |