summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 449660e4f7128573a61218c44b1e95f368230a0f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33

pkgname=signond-git
pkgver=8.61.r1.gee891bf
pkgrel=1
pkgdesc='A D-Bus service which performs user authentication on behalf of its clients'
arch=(x86_64)
url='https://gitlab.com/accounts-sso/signond/'
license=(LGPL)
depends=(qt6-base)
makedepends=(doxygen graphviz ttf-font)
conflicts=(signond)
provides=(signond)
source=(git+https://gitlab.com/accounts-sso/signond.git)
sha256sums=('SKIP')

pkgver() {
  cd "${pkgname%-git}"
  git describe --long --tags | sed 's/VERSION_//;s/\([^-]*-g\)/r\1/;s/-/./g'
}

build() {
  cd "${pkgname%-git}"
  qmake PREFIX=/usr LIBDIR=/usr/lib
  make
}

package() {
  cd "${pkgname%-git}"
  make INSTALL_ROOT="$pkgdir" install

  # Do not ship docs
  rm -rf "$pkgdir"/usr/share/doc
}