Date: Wednesday, March 1, 2023 @ 09:35:11 Author: felixonmars Revision: 1405795
archrelease: copy trunk to community-x86_64 Added: dtkcore/repos/community-x86_64/PKGBUILD (from rev 1405794, dtkcore/trunk/PKGBUILD) Deleted: dtkcore/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 92 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 46 insertions(+), 46 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2023-03-01 09:34:57 UTC (rev 1405794) +++ PKGBUILD 2023-03-01 09:35:11 UTC (rev 1405795) @@ -1,46 +0,0 @@ -# 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.6.5 -_commit=866339a0deefa34226539d9dccbd35383b5ccdbf -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' 'icu' 'uchardet') -makedepends=('git' 'cmake' 'ninja' 'qt5-tools' 'gtest' 'doxygen') -source=("git+https://github.com/linuxdeepin/dtkcore.git#commit=$_commit") -sha512sums=('SKIP') - -prepare() { - cd dtkcore - sed -i 's|/etc/os-version|/etc/uos-version|' src/dsysinfo.cpp -} - -build() { - cd dtkcore - cmake -GNinja \ - -DMKSPECS_INSTALL_DIR=lib/qt/mkspecs/modules/ \ - -DBUILD_DOCS=ON \ - -DBUILD_EXAMPLES=ON \ - -DQCH_INSTALL_DESTINATION=share/doc/qt \ - -DCMAKE_INSTALL_LIBDIR=lib \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DDVERSION=$pkgver - - ninja -} - -check() { - cd dtkcore - ninja check || echo "Tests failed" -} - -package() { - cd dtkcore - DESTDIR="$pkgdir" ninja install -} Copied: dtkcore/repos/community-x86_64/PKGBUILD (from rev 1405794, dtkcore/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2023-03-01 09:35:11 UTC (rev 1405795) @@ -0,0 +1,46 @@ +# 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.6.6 +_commit=ce3894ea37eae8ed56efd30397d8de3f4bf5ea7b +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' 'icu' 'uchardet') +makedepends=('git' 'cmake' 'ninja' 'qt5-tools' 'gtest' 'doxygen') +source=("git+https://github.com/linuxdeepin/dtkcore.git#commit=$_commit") +sha512sums=('SKIP') + +prepare() { + cd dtkcore + sed -i 's|/etc/os-version|/etc/uos-version|' src/dsysinfo.cpp +} + +build() { + cd dtkcore + cmake -GNinja \ + -DMKSPECS_INSTALL_DIR=lib/qt/mkspecs/modules/ \ + -DBUILD_DOCS=ON \ + -DBUILD_EXAMPLES=ON \ + -DQCH_INSTALL_DESTINATION=share/doc/qt \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DDVERSION=$pkgver + + ninja +} + +check() { + cd dtkcore + ninja check || echo "Tests failed" +} + +package() { + cd dtkcore + DESTDIR="$pkgdir" ninja install +}