summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: da1b4631c244f0afd23b26a5d96ecbcf582d1d53 (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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# Maintainer: Hermann Mayer <hermann.mayer92@gmail.com>
# Based on: https://archlinux.org/packages/extra/x86_64/zeal/

pkgname=zeal-i3-shortcuts
pkgver=0.7.2
pkgrel=1
pkgdesc='Offline API documentation browser, with X11/i3 shortcut patches'
arch=('x86_64')
url='https://zealdocs.org'
license=('GPL-3.0-or-later')
depends=(
  'glibc'
  'gcc-libs'
  'hicolor-icon-theme'
  'qt6-webengine'
  'qt6-base'
  'qt6-webchannel'
  'sqlite'
  'libarchive'
  'libxcb'
  'libx11'
  'xcb-util-keysyms'
)
makedepends=(
  'cmake'
  'extra-cmake-modules'
  'git'
)
conflicts=(
  'zeal'
)
source=("$pkgname::git+https://github.com/Jack12816/zeal#branch=main")
sha512sums=('SKIP')
b2sums=('SKIP')

build() {
  cmake \
    -B build \
    -S "$pkgname" \
    -D CMAKE_INSTALL_PREFIX=/usr \
    -D CMAKE_BUILD_TYPE=Release \
    -D ZEAL_RELEASE_BUILD=ON

  cmake --build build
}

package() {
  DESTDIR="$pkgdir" cmake --install build
}