Date: Friday, September 9, 2022 @ 13:28:00 Author: felixonmars Revision: 1297245
archrelease: copy trunk to community-x86_64 Added: deepin-grand-search/repos/community-x86_64/ deepin-grand-search/repos/community-x86_64/PKGBUILD (from rev 1297244, deepin-grand-search/trunk/PKGBUILD) ----------+ PKGBUILD | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) Copied: deepin-grand-search/repos/community-x86_64/PKGBUILD (from rev 1297244, deepin-grand-search/trunk/PKGBUILD) =================================================================== --- community-x86_64/PKGBUILD (rev 0) +++ community-x86_64/PKGBUILD 2022-09-09 13:28:00 UTC (rev 1297245) @@ -0,0 +1,32 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=deepin-grand-search +pkgver=5.3.2 +pkgrel=1 +pkgdesc='System-wide desktop search for DDE' +arch=('x86_64') +url="https://github.com/linuxdeepin/dde-grand-search" +license=('GPL3') +depends=(deepin-anything deepin-daemon deepin-qt5integration poppler-qt5) +makedepends=(cmake deepin-dock ninja qt5-tools) +groups=(deepin-extra) +source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/dde-grand-search/archive/$pkgver.tar.gz" + $pkgname-application-path.patch::https://github.com/linuxdeepin/dde-grand-search/commit/3d3b3c7c62958dcc311b6055a4a9585745ad2d7a.patch) +sha512sums=('df6269053626fbb16b5b328809c04129fce7fb9c87e3593e180dc60b91962c078a2d4375a1613c4544f3be49fc2c8eb75d1ddedfcb2afe23f383d413be7b0a41' + '5235c31c559d7b9c8d681edcf4f87ed5e26f6fd0f0a8ca92d5c2b2422f314466e0d4d445a18c11a68cef3134eea2eb966d7c5e074d8bbb9816cf2a87aafe3afb') + +prepare() { + cd dde-grand-search-$pkgver + patch -p1 -i ../$pkgname-application-path.patch +} + +build() { + cd dde-grand-search-$pkgver + cmake -GNinja . + ninja +} + +package() { + cd dde-grand-search-$pkgver + DESTDIR="$pkgdir" ninja install +}