[arch-commits] Commit in dtkgui/repos (2 files)

Felix Yan felixonmars at archlinux.org
Sat Jun 5 21:09:52 UTC 2021


    Date: Saturday, June 5, 2021 @ 21:09:52
  Author: felixonmars
Revision: 956160

archrelease: copy trunk to community-testing-x86_64

Added:
  dtkgui/repos/community-testing-x86_64/
  dtkgui/repos/community-testing-x86_64/PKGBUILD
    (from rev 956159, dtkgui/trunk/PKGBUILD)

----------+
 PKGBUILD |   32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

Copied: dtkgui/repos/community-testing-x86_64/PKGBUILD (from rev 956159, dtkgui/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2021-06-05 21:09:52 UTC (rev 956160)
@@ -0,0 +1,32 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=dtkgui
+pkgver=5.5.2
+pkgrel=1
+pkgdesc='Deepin Toolkit, gui module for DDE look and feel'
+arch=('x86_64')
+url="https://github.com/linuxdeepin/dtkgui"
+license=('LGPL3')
+depends=('dtkcore' 'librsvg' 'qt5-x11extras')
+makedepends=('qt5-tools' 'gtest')
+source=("https://github.com/linuxdeepin/dtkgui/archive/$pkgver/$pkgname-$pkgver.tar.gz")
+sha512sums=('964d01b8453a3134d94cb20da5e6dd2ff09561e2a3f06b4bf7f45afad87d924ff0a1ee71a9c766774a6af56217e0fb935abd30917e136b9d3f0937961418be2a')
+
+prepare() {
+  cd dtkgui-$pkgver
+  # Patch out 5.5 suffix. The version number in dtkcore & friends never matched their tags,
+  # and current version of dde-session-shell requires 5.5 explicitly. Let's make qmake and
+  # cmake happy while upstream didn't react on this matter.
+  find . -name '*.pro' -exec sed -i 's/dtkcore5.5/dtkcore/g;s/dtkgui5.5/dtkgui/g' {} \;
+}
+
+build() {
+  cd dtkgui-$pkgver
+  qmake-qt5 PREFIX=/usr DTK_VERSION=$pkgver LIB_INSTALL_DIR=/usr/lib
+  make
+}
+
+package() {
+  cd dtkgui-$pkgver
+  make INSTALL_ROOT="$pkgdir" install
+}



More information about the arch-commits mailing list