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

Felix Yan felixonmars at archlinux.org
Mon May 17 14:35:28 UTC 2021


    Date: Monday, May 17, 2021 @ 14:35:27
  Author: felixonmars
Revision: 936014

archrelease: copy trunk to community-testing-any

Added:
  dtkcommon/repos/community-testing-any/
  dtkcommon/repos/community-testing-any/PKGBUILD
    (from rev 936013, dtkcommon/trunk/PKGBUILD)

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

Copied: dtkcommon/repos/community-testing-any/PKGBUILD (from rev 936013, dtkcommon/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD	                        (rev 0)
+++ community-testing-any/PKGBUILD	2021-05-17 14:35:27 UTC (rev 936014)
@@ -0,0 +1,29 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=dtkcommon
+pkgver=5.5.3
+pkgrel=1
+pkgdesc='DTK common files'
+arch=('any')
+url="https://github.com/linuxdeepin/dtkcommon"
+license=('LGPL3')
+depends=('dconf')
+makedepends=('qt5-tools')
+source=("https://github.com/linuxdeepin/dtkcommon/archive/$pkgver/$pkgname-$pkgver.tar.gz")
+sha512sums=('54c6d59676d3ba0efdf5b710ca1b0a039779c7a0b16383df7ae1efdf1b370f92f09ee18fa0e9ce204114cc578e169135bcea33e1336c81523f42980ce6e6c1a2')
+
+prepare() {
+  cd dtkcommon-$pkgver
+  sed -i 's|qt5/mkspecs|qt/mkspecs|;s|/etc/dbus-1|/usr/share/dbus-1|' dtkcommon.pro
+}
+
+build() {
+  cd dtkcommon-$pkgver
+  qmake-qt5 PREFIX=/usr VERSION=$pkgver LIB_INSTALL_DIR=/usr/lib
+  make
+}
+
+package() {
+  cd dtkcommon-$pkgver
+  make INSTALL_ROOT="$pkgdir" install
+}



More information about the arch-commits mailing list