diff options
author | Florian Pritz <bluewind@xssn.at> | 2010-05-24 22:02:28 +0200 |
---|---|---|
committer | Florian Pritz <bluewind@xssn.at> | 2010-05-24 22:03:10 +0200 |
commit | 76b5704f46d3e59e41ed5883d23dd0d4aa818f4c (patch) | |
tree | a5adf840adb3093276c1fcf6b27135cecd935462 /smplayer-svn/PKGBUILD | |
parent | b37bf77aa7e3354edc3831f7c9038d77da00fec2 (diff) | |
download | aur-packages-76b5704f46d3e59e41ed5883d23dd0d4aa818f4c.tar.gz aur-packages-76b5704f46d3e59e41ed5883d23dd0d4aa818f4c.tar.xz |
updates
Signed-off-by: Florian Pritz <bluewind@xssn.at>
Diffstat (limited to 'smplayer-svn/PKGBUILD')
-rw-r--r-- | smplayer-svn/PKGBUILD | 27 |
1 files changed, 19 insertions, 8 deletions
diff --git a/smplayer-svn/PKGBUILD b/smplayer-svn/PKGBUILD index 9a7eed3..83691d4 100644 --- a/smplayer-svn/PKGBUILD +++ b/smplayer-svn/PKGBUILD @@ -3,19 +3,18 @@ # Fixes by: WAntilles <wantilles@adslgr.com> pkgname=smplayer-svn -pkgver=3412 +pkgver=3537 pkgrel=1 -_latestver=0.6.8 +_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.5.2' 'mplayer>=29411') +depends=('qt>=4.6.2' 'mplayer>=30526') makedepends=('subversion') conflicts=('smplayer') provides=("smplayer=${_latestver}") -source=() -md5sums=() +#source=("smplayer-build-fix.patch") _svnmod="smplayer" _svntrunk=https://smplayer.svn.sourceforge.net/svnroot/smplayer/smplayer/trunk/ @@ -41,7 +40,19 @@ build() 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 || return 1 - make PREFIX=/usr DESTDIR="${pkgdir}/" install -}
\ No newline at end of file + 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') |