Date: Wednesday, April 7, 2021 @ 16:40:31 Author: felixonmars Revision: 912516
archrelease: copy trunk to community-testing-x86_64 Added: dtkcore/repos/community-testing-x86_64/ dtkcore/repos/community-testing-x86_64/PKGBUILD (from rev 912515, dtkcore/trunk/PKGBUILD) ----------+ PKGBUILD | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) Copied: dtkcore/repos/community-testing-x86_64/PKGBUILD (from rev 912515, dtkcore/trunk/PKGBUILD) =================================================================== --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2021-04-07 16:40:31 UTC (rev 912516) @@ -0,0 +1,27 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Josip Ponjavic <josipponjavic at gmail dot com> +# Contributor: Xu Fasheng <fasheng.xu[AT]gmail.com> + +pkgname=dtkcore +pkgver=5.4.13 +pkgrel=1 +epoch=1 +pkgdesc='DTK core modules' +arch=('x86_64') +url="https://github.com/linuxdeepin/dtkcore" +license=('LGPL3') +depends=('dtkcommon' 'deepin-desktop-base' 'python' 'gsettings-qt' 'lshw') +makedepends=('qt5-tools' 'gtest') +source=("https://github.com/linuxdeepin/dtkcore/archive/$pkgver/$pkgname-$pkgver.tar.gz") +sha512sums=('9b8c0741336d96ffbf659cf02a547147934e90830395af622d02f5542b88ba9ddf74e6870dd0a61f19ecadc92457ae760f1e3bc7a34100271a92219d965bf54c') + +build() { + cd dtkcore-$pkgver + qmake-qt5 PREFIX=/usr DTK_VERSION=$pkgver LIB_INSTALL_DIR=/usr/lib + make +} + +package() { + cd dtkcore-$pkgver + make INSTALL_ROOT="$pkgdir" install +}