diff options
author | Josip Ponjavic | 2017-10-08 14:09:05 +0200 |
---|---|---|
committer | Josip Ponjavic | 2017-10-08 14:09:05 +0200 |
commit | 8f81f392e515c1ffd71cf913c5e4ba87bb1d707b (patch) | |
tree | 7392a61674b05896159809e739541d3705ba0e87 /PKGBUILD | |
download | aur-8f81f392e515c1ffd71cf913c5e4ba87bb1d707b.tar.gz |
initial import
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..2ac329b3c680 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,32 @@ +# Maintainer: Josip Ponjavic <josipponjavic at gmail dot com> +# Contributor: + +pkgname=mpc-qt +pkgver=17.10 +pkgrel=1 +pkgdesc='A clone of Media Player Classic reimplimented in Qt.' +url='https://github.com/cmdrkotori/mpc-qt' +arch=('i686' 'x86_64') +license=('GPL2') +depends=('mpv' 'qt5-x11extras') +makedepends=('git' 'qt5-tools') +optdepends=('adobe-source-sans-pro-fonts: default font for mpv-stats script' + 'libva-vdpau-driver: backend for Nvidia and AMD cards' + 'libva-intel-driver: backend for Intel cards') +source=("git+${url}.git#tag=v${pkgver}") +sha256sums=('SKIP') + +prepare() { + cd mpc-qt + git submodule update --init --recursive +} + +build() { + cd mpc-qt + qmake-qt5 PREFIX=/usr mpc-qt.pro + make +} + +package() { + make -C mpc-qt INSTALL_ROOT="${pkgdir}" install +} |