diff options
author | Bob Igo <bob@stormlogic.com> | 2009-06-03 18:41:16 (GMT) |
---|---|---|
committer | Bob Igo <bob@stormlogic.com> | 2009-06-03 18:41:16 (GMT) |
commit | a035f0f44d6ee8874314a957cb52b803c197cfbd (patch) | |
tree | cb7cf420e015463136e05a93a45bc63fe5a7a908 /abs/extra-testing/community/smplayer/PKGBUILD | |
parent | 668064b7cb79759786d5ab3045ce89c8b9bb9ffe (diff) | |
parent | 178de28c12a605337c92cb8b02b07a4db35f3603 (diff) | |
download | linhes_pkgbuild-a035f0f44d6ee8874314a957cb52b803c197cfbd.zip linhes_pkgbuild-a035f0f44d6ee8874314a957cb52b803c197cfbd.tar.gz linhes_pkgbuild-a035f0f44d6ee8874314a957cb52b803c197cfbd.tar.bz2 |
Merge branch 'master' of ssh://igo@knoppmyth.net/mount/repository/LinHES-PKGBUILD
Diffstat (limited to 'abs/extra-testing/community/smplayer/PKGBUILD')
-rw-r--r-- | abs/extra-testing/community/smplayer/PKGBUILD | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/abs/extra-testing/community/smplayer/PKGBUILD b/abs/extra-testing/community/smplayer/PKGBUILD new file mode 100644 index 0000000..2637da8 --- /dev/null +++ b/abs/extra-testing/community/smplayer/PKGBUILD @@ -0,0 +1,30 @@ +# $Id: PKGBUILD 29947 2009-03-14 00:58:48Z allan $ +# Maintainer: Allan McRae <allan@archlinux.org> +# Contributor: Alessio 'mOLOk' Bolognino <themolok@gmail.com> +# Contributor: shamrok <szamrok@gmail.com> + +pkgname=smplayer +pkgver=0.6.7 +pkgrel=1 +pkgdesc="A complete front-end for MPlayer" +arch=('i686' 'x86_64') +url="http://smplayer.sourceforge.net/" +license=('GPL') +depends=('qt' 'mplayer') +source=(http://downloads.sourceforge.net/sourceforge/smplayer/${pkgname}-${pkgver}.tar.bz2) +md5sums=('306b99374ad89cee93f1ad6fa94dea71') + +build() { + cd ${srcdir}/${pkgname}-${pkgver} + + # remove broken translation + sed -i "s|translations/smplayer_gl.ts|#translations/smplayer_gl.ts|" src/smplayer.pro + + make PREFIX=/usr || return 1 + make PREFIX=${pkgdir}/usr install || return 1 + + install -dm755 ${pkgdir}/usr/share/pixmaps + ln -s /usr/share/icons/hicolor/64x64/apps/smplayer.png \ + ${pkgdir}/usr/share/pixmaps/ +} + |