Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/build-support/dtkwidget-less-restrictive/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'build-support/dtkwidget-less-restrictive/PKGBUILD')
-rw-r--r--build-support/dtkwidget-less-restrictive/PKGBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/build-support/dtkwidget-less-restrictive/PKGBUILD b/build-support/dtkwidget-less-restrictive/PKGBUILD
new file mode 100644
index 00000000..01beb10a
--- /dev/null
+++ b/build-support/dtkwidget-less-restrictive/PKGBUILD
@@ -0,0 +1,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
+}