[arch-commits] Commit in dtkcommon/repos/community-testing-any (PKGBUILD PKGBUILD)

Felix Yan felixonmars at archlinux.org
Wed Apr 7 16:30:45 UTC 2021


    Date: Wednesday, April 7, 2021 @ 16:30:44
  Author: felixonmars
Revision: 912510

archrelease: copy trunk to community-testing-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-04-07 16:30:23 UTC (rev 912509)
+++ PKGBUILD	2021-04-07 16:30:44 UTC (rev 912510)
@@ -1,27 +0,0 @@
-# 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,}
-}

Copied: dtkcommon/repos/community-testing-any/PKGBUILD (from rev 912509, dtkcommon/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-04-07 16:30:44 UTC (rev 912510)
@@ -0,0 +1,29 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=dtkcommon
+pkgver=5.5.2
+pkgrel=2
+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')
+
+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