Date: Saturday, January 28, 2023 @ 17:02:36
Author: felixonmars
Revision: 1390210
archrelease: copy trunk to community-testing-any
Added:
dtkcommon/repos/community-testing-any/
dtkcommon/repos/community-testing-any/PKGBUILD
(from rev 1390208, dtkcommon/trunk/PKGBUILD)
----------+
PKGBUILD | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
Copied: dtkcommon/repos/community-testing-any/PKGBUILD (from rev 1390208,
dtkcommon/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD (rev 0)
+++ community-testing-any/PKGBUILD 2023-01-28 17:02:36 UTC (rev 1390210)
@@ -0,0 +1,28 @@
+# Maintainer: Felix Yan <[email protected]>
+
+pkgname=dtkcommon
+pkgver=5.6.4
+pkgrel=1
+pkgdesc='DTK common files'
+arch=('any')
+url="https://github.com/linuxdeepin/dtkcommon"
+license=('LGPL3')
+depends=('dconf')
+makedepends=('cmake' 'ninja')
+source=("https://github.com/linuxdeepin/dtkcommon/archive/$pkgver/$pkgname-$pkgver.tar.gz")
+sha512sums=('fed4ea3b10e00530c79fe6eba59af4d1f0d45f4f720b7ad967827e9319e97ed0a8ff6d6d7dcdab7cd328de03a7d24f1f0130a184b90268aecc9bb391294aaef0')
+
+build() {
+ cd dtkcommon-$pkgver
+ cmake . -GNinja \
+ -DCMAKE_INSTALL_LIBDIR=/usr/lib \
+ -DMKSPECS_INSTALL_DIR=/usr/lib/qt/mkspecs/ \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DVERSION=$pkgver
+ ninja
+}
+
+package() {
+ cd dtkcommon-$pkgver
+ DESTDIR="$pkgdir" ninja install
+}