Date: Monday, May 17, 2021 @ 15:16:57 Author: felixonmars Revision: 936030
archrelease: copy trunk to community-testing-x86_64 Added: dtkcore/repos/community-testing-x86_64/ dtkcore/repos/community-testing-x86_64/PKGBUILD (from rev 936029, dtkcore/trunk/PKGBUILD) ----------+ PKGBUILD | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) Copied: dtkcore/repos/community-testing-x86_64/PKGBUILD (from rev 936029, dtkcore/trunk/PKGBUILD) =================================================================== --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2021-05-17 15:16:57 UTC (rev 936030) @@ -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.15 +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=('c699a2df5b73d8f9805a938b38c634c353197fa2fc9a93251c323783bf8d6a0469df0e4a7288ec79ba03c3424a836618ef50cae0f235f7c9decaedc84f1186ab') + +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 +}