Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/build-support/dtkwidget-less-restrictive/PKGBUILD
blob: 01beb10a4264e7e3aa7c5eb3f49c353ca807ae76 (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
30
31
32
33
34
35
36
# $Id$
# Maintainer: Felix Yan <felixonmars@archlinux.org>
# Contributor: Josip Ponjavic <josipponjavic at gmail dot com>
# Contributor: Xu Fasheng <fasheng.xu[AT]gmail.com>

pkgname=dtkwidget-less-restrictive
pkgver=2.0.0
pkgrel=2
pkgdesc='Deepin graphical user interface library - which does not replace/conflict deepin-tool-kit (solely for the build system!)'
arch=('i686' 'x86_64')
url="https://github.com/linuxdeepin/dtkwidget"
license=('GPL3')
depends=('dtkcore' 'gsettings-qt' 'qt5-multimedia' 'qt5-x11extras' 'startup-notification')
makedepends=('qt5-tools')
source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/dtkwidget/archive/$pkgver.tar.gz")
sha512sums=('47f1bc8d13e3773e4c9584c7e9092435275a40cf01a20ecf3517f21856a89bdcd3903da72b9e4e36fda01f9a9e97623950cfcd8a77912d741ab2d8d7b43fb091')
conflicts=(
  'dtkwidget'
)
provides=(
  'dtkwidget'
)
replaces=(
  'dtkwidget'
)
      
build() {
  cd dtkwidget-$pkgver
  qmake-qt5 PREFIX=/usr
  make
}

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