Date: Thursday, December 1, 2022 @ 07:41:26
Author: felixonmars
Revision: 1355581
archrelease: copy trunk to community-testing-x86_64
Added:
dtkwidget/repos/community-testing-x86_64/
dtkwidget/repos/community-testing-x86_64/PKGBUILD
(from rev 1355580, dtkwidget/trunk/PKGBUILD)
----------+
PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
Copied: dtkwidget/repos/community-testing-x86_64/PKGBUILD (from rev 1355580,
dtkwidget/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD (rev 0)
+++ community-testing-x86_64/PKGBUILD 2022-12-01 07:41:26 UTC (rev 1355581)
@@ -0,0 +1,37 @@
+# Maintainer: Felix Yan <[email protected]>
+# Contributor: Josip Ponjavic <josipponjavic at gmail dot com>
+# Contributor: Xu Fasheng <fasheng.xu[AT]gmail.com>
+
+pkgname=dtkwidget
+pkgver=5.6.2.2
+pkgrel=1
+pkgdesc='Deepin graphical user interface library'
+arch=('x86_64')
+url="https://github.com/linuxdeepin/dtkwidget"
+license=('LGPL3')
+options=('debug')
+depends=('deepin-qt-dbus-factory' 'dtkcore' 'dtkgui' 'librsvg'
'qt5-multimedia' 'qt5-svg'
+ 'qt5-x11extras' 'startup-notification')
+makedepends=('cmake' 'ninja' 'qt5-tools' 'gtest' 'doxygen')
+replaces=('deepin-tool-kit')
+conflicts=('deepin-tool-kit<0.3.4')
+source=("https://github.com/linuxdeepin/dtkwidget/archive/$pkgver/$pkgname-$pkgver.tar.gz")
+sha512sums=('4ee77a5ea09db69a2c97a5c7fb45584e3aab5e6bbc93dddc249272e73e9f8919b257f6624b7edda632d27a61e425af60c0d7cd464dbe8f7d7e075babcc7491ce')
+
+build() {
+ cd dtkwidget-$pkgver
+ cmake -GNinja \
+ -DHUNTER_ENABLED=OFF \
+ -DLINUXNAME="archlinux" \
+ -DNOTPACKAGE=OFF \
+ -DBUILD_DOCS=ON \
+ -DQCH_INSTALL_DESTINATION=/usr/share/doc/qt \
+ -DCMAKE_INSTALL_LIBDIR=/usr/lib \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ ninja
+}
+
+package() {
+ cd dtkwidget-$pkgver
+ DESTDIR="$pkgdir" ninja install
+}