# $Id: PKGBUILD 140332 2015-09-15 12:53:46Z fyan $
# Maintainer: Felix Yan <felixonmars@archlinux.org>
# Contributor: Josip Ponjavic <josipponjavic at gmail dot com>
# Contributor: Xu Fasheng <fasheng.xu[AT]gmail.com>

pkgname=deepin-qml-widgets
pkgver=2.3.0
pkgrel=1
pkgdesc='Deepin QML widgets'
arch=('i686' 'x86_64')
url="https://gitcafe.com/Deepin/deepin-qml-widgets"
license=('GPL3')
depends=('qt5-multimedia' 'qt5-webkit' 'qt5-imageformats'
         'qt5-graphicaleffects' 'qt5-x11extras' 'gtk2')
makedepends=('git')
conflicts=('dde-qml-gettext-plugin')
provides=('dde-qml-gettext-plugin')
replaces=('dde-qml-gettext-plugin')
source=("git+https://github.com/linuxdeepin/deepin-qml-widgets.git#tag=$pkgver")
sha256sums=('SKIP')

build(){
  cd $pkgname
  qmake-qt5
  make
}

package() {
  cd $pkgname
  make INSTALL_ROOT="${pkgdir}" install
}
