summaryrefslogtreecommitdiffstats
path: root/smplayer-svn/PKGBUILD
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2012-12-16 11:51:24 +0100
committerFlorian Pritz <bluewind@xinu.at>2012-12-16 11:51:24 +0100
commitc6000c9d9949b3326fb82f02431899ab6774b960 (patch)
tree2453cd564b0f382f3d8ccd893df8ebe2e9aeda71 /smplayer-svn/PKGBUILD
parent453f0f12918af35bd8e1e5f049841360f37d62e4 (diff)
downloadaur-packages-c6000c9d9949b3326fb82f02431899ab6774b960.tar.gz
aur-packages-c6000c9d9949b3326fb82f02431899ab6774b960.tar.xz
big cleanup
Diffstat (limited to 'smplayer-svn/PKGBUILD')
-rw-r--r--smplayer-svn/PKGBUILD57
1 files changed, 0 insertions, 57 deletions
diff --git a/smplayer-svn/PKGBUILD b/smplayer-svn/PKGBUILD
deleted file mode 100644
index 90449dd..0000000
--- a/smplayer-svn/PKGBUILD
+++ /dev/null
@@ -1,57 +0,0 @@
-# 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=3592
-pkgrel=1
-_latestver=0.6.9
-pkgdesc="A complete front-end for MPlayer"
-arch=('i686' 'x86_64')
-url="http://smplayer.sourceforge.net/"
-license=('GPL')
-depends=('qt>=4.7.1' 'mplayer>=32663')
-makedepends=('subversion')
-conflicts=('smplayer')
-provides=("smplayer=${_latestver}")
-
-_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
-
-
- # remove broken translation
- sed -i "s|translations/smplayer_gl.ts|#translations/smplayer_gl.ts|" src/smplayer.pro || return 1
-
- sed -i 's/PREFIX=.*/PREFIX=\/usr/' Makefile || return 1
- make PREFIX=/usr || return 1
- make DESTDIR=${pkgdir} PREFIX=/usr KDE_PREFIX=/usr install || return 1
-
- install -dm755 ${pkgdir}/usr/share/pixmaps
- ln -s ${pkgdir}/usr/share/icons/hicolor/64x64/apps/smplayer.png ${pkgdir}/usr/share/pixmaps/
-
- sed -i 's|Exec=smplayer %U|Exec=smplayer %F|' ${pkgdir}/usr/share/applications/smplayer.desktop || return 1
- sed -i 's|Exec=smplayer -add-to-playlist %U|Exec=smplayer -add-to-playlist %F|' ${pkgdir}/usr/share/applications/smplayer_enqueue.desktop || return 1
-
-}
-md5sums=('7da2927266bc73a69a4dac0fae54c750')