File PKGBUILD of Package smplayer
# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
# Contributor: 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=22.2.0
pkgrel=1
pkgdesc='Media player with built-in codecs that can play virtually all video and audio formats'
url='http://www.smplayer.info/'
arch=('x86_64')
license=('GPL')
depends=('hicolor-icon-theme' 'libx11' 'zlib' 'gcc-libs')
makedepends=('qt5-tools')
optdepends=('smplayer-themes: icon themes collection'
'smplayer-skins: skin themes collection'
'smtube: browse and play youtube videos'
'youtube-dl: youtube videos and streaming'
'mpv: multimedia engine'
'mplayer: alternative multimedia engine')
source=(https://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.bz2)
sha256sums=('SKIP')
sha512sums=('SKIP')
build() {
cd ${pkgname}-${pkgver}
make PREFIX=/usr \
DOC_PATH="\\\"/usr/share/doc/smplayer\\\"" \
QMAKE_OPTS=DEFINES+=NO_DEBUG_ON_CONSOLE
}
package() {
cd ${pkgname}-${pkgver}
make DOC_PATH=/usr/share/doc/smplayer \
DESTDIR="${pkgdir}" PREFIX=/usr install
}
# vim: ts=2 sw=2 et: