[arch-commits] Commit in dtkcommon/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Wed Apr 7 15:41:36 UTC 2021
Date: Wednesday, April 7, 2021 @ 15:41:35
Author: felixonmars
Revision: 912490
archrelease: copy trunk to community-testing-any
Added:
dtkcommon/repos/community-testing-any/
dtkcommon/repos/community-testing-any/PKGBUILD
(from rev 912489, dtkcommon/trunk/PKGBUILD)
----------+
PKGBUILD | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
Copied: dtkcommon/repos/community-testing-any/PKGBUILD (from rev 912489, dtkcommon/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD (rev 0)
+++ community-testing-any/PKGBUILD 2021-04-07 15:41:35 UTC (rev 912490)
@@ -0,0 +1,27 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=dtkcommon
+pkgver=5.5.2
+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=('4019ae13bd3b669844f655db9259dba152d5f71c1a7ad5015333f5582f5faa22b9451f9f83bb08543e8b1f20b801fbf5f65bd21d7096d7c38adf012751596793')
+
+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
+ install -dm755 "$pkgdir"/usr/share/dbus-1
+ mv "$pkgdir"/etc/dbus-1/system.d "$pkgdir"/usr/share/dbus-1/system.d
+ rmdir "$pkgdir"/etc/{dbus-1,}
+}
More information about the arch-commits
mailing list