upgpkg: wordpress 6.2.1-1
[ArchLinux/community.git] / deepin-clipboard / trunk / PKGBUILD
blob97c8b33f6ccb71473284006ed9470dc327451964
1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
3 pkgname=deepin-clipboard
4 pkgver=5.4.25
5 pkgrel=3
6 pkgdesc='DDE clipboard manager component'
7 arch=('x86_64')
8 url="https://github.com/linuxdeepin/dde-clipboard"
9 license=('GPL3')
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')
16 prepare() {
17   mkdir -p build
18   sed -i 's|DESTINATION /lib/systemd/user|DESTINATION /usr/lib/systemd/user|' dde-clipboard-$pkgver/CMakeLists.txt
21 build() {
22   cd build
23   cmake -GNinja ../dde-clipboard-$pkgver
24   ninja
27 package() {
28   cd build
29   DESTDIR="$pkgdir" ninja install