summaryrefslogtreecommitdiffstats
path: root/abs/extra-testing/community/smplayer/PKGBUILD
blob: 2637da8ed62f5fd83346ef3d05f5ee9d66431bfa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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/
}