summaryrefslogtreecommitdiff
path: root/extra/smplayer/PKGBUILD
blob: 84b6b60020f431c75abcee9e0ea5fa8713852878 (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
# $Id: PKGBUILD 181042 2013-03-30 15:19:33Z foutrelis $
# Maintainer : Ionut Biru <ibiru@archlinux.org>
# Contributor: Allan McRae <allan@archlinux.org>
# Contributor: Alessio 'mOLOk' Bolognino <themolok@gmail.com>
# Contributor: shamrok <szamrok@gmail.com>

pkgname=smplayer
pkgver=0.8.4
pkgrel=1
pkgdesc="A complete front-end for MPlayer"
arch=('i686' 'x86_64' 'mips64el')
url="http://smplayer.sourceforge.net/"
license=('GPL')
depends=('qt4' 'mplayer')
install=smplayer.install
source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.bz2)
md5sums=('4691b569c4209d7e5a2c1386d9319881')

build() {
  cd "$pkgname-$pkgver"
  sed -i 's:#\(DEFINES += NO_DEBUG_ON_CONSOLE\):\1:' src/smplayer.pro
  make PREFIX=/usr QMAKE=qmake-qt4 LRELEASE=lrelease-qt4
}

package() {
  cd "$pkgname-$pkgver"
  make PREFIX=$pkgdir/usr install
}