1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
3 pkgname=deepin-clipboard
6 pkgdesc='DDE clipboard manager component'
8 url="https://github.com/linuxdeepin/dde-clipboard"
10 depends=('deepin-qt5integration' 'gio-qt' 'kwayland' 'deepin-qt-dbus-factory')
11 makedepends=('cmake' 'ninja' 'gtest' 'qt5-tools')
12 groups=('deepin-extra')
13 source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/dde-clipboard/archive/$pkgver.tar.gz")
14 sha512sums=('af8a67b79f5bc67d2fad48e7529c5d41d1541b24af927aaea36e1064c6252f5e3e46198a95ce280f6796a5904b573a882eb2180d1345506e8d9d25665d1d1193')
18 sed -i 's|DESTINATION /lib/systemd/user|DESTINATION /usr/lib/systemd/user|' dde-clipboard-$pkgver/CMakeLists.txt
23 cmake -GNinja ../dde-clipboard-$pkgver
29 DESTDIR="$pkgdir" ninja install