# Maintainer: Felix Yan <felixonmars@archlinux.org>

pkgname=deepin-draw
pkgver=1.0.0
pkgrel=2
pkgdesc="A lightweight drawing tool for Linux Deepin"
arch=('x86_64')
url="https://github.com/linuxdeepin/deepin-draw"
license=('GPL3')
depends=('deepin-notifications' 'deepin-qt5integration' 'dtkwm' 'freeimage' 'libexif')
makedepends=('qt5-tools')
groups=('deepin-extra')
source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/deepin-draw/archive/$pkgver.tar.gz")
sha512sums=('3d0a946756ab377d13b5e4b5adb2c5791e84ab4aea13b94df8bf860313b3d58138d5fbf447aae447608d2ac617ebb98add7249c2d6cd22a41cf7cad59696d685')

build() {
  cd deepin-draw-$pkgver

  qmake-qt5
  make
}

package() {
  cd deepin-draw-$pkgver
  make INSTALL_ROOT="$pkgdir" install
}
