archrelease: copy trunk to extra-x86_64
[arch-packages.git] / kdsoap-ws-discovery-client / repos / extra-x86_64 / PKGBUILD
blob83dbe0a49ec6a603d3de60ee3a647252d53cbf9d
1 # Maintainer: Antonio Rojas <arojas@archlinux.org>
3 pkgname=kdsoap-ws-discovery-client
4 pkgver=git20200927
5 pkgrel=2
6 _commit=dcefb65c88e76f1f9eda8b0318006e93d15a0e1e
7 pkgdesc='WS-Discovery client library based on KDSoap'
8 license=(GPL3 custom)
9 arch=(x86_64)
10 url='https://caspermeijn.gitlab.io/kdsoap-ws-discovery-client/'
11 depends=(kdsoap)
12 makedepends=(extra-cmake-modules doxygen qt5-tools qt5-doc)
13 source=(https://gitlab.com/caspermeijn/kdsoap-ws-discovery-client/-/archive/$_commit/$pkgname-$_commit.tar.gz)
14 sha256sums=('8b80ac16fe4b7a0c2cd319eaaa2fd2d03c8c01e15298f62c14574fe53925b8d8')
16 build() {
17   cmake -B build -S $pkgname-$_commit \
18     -DBUILD_QCH=ON
19   cmake --build build
22 package() {
23   DESTDIR="$pkgdir" cmake --install build
24   install -Dm644 "$srcdir"/$pkgname-$_commit/LICENSES/* -t "$pkgdir"/usr/share/licenses/$pkgname