diff options
author | Oleg Shparber | 2023-10-01 22:07:18 -0400 |
---|---|---|
committer | Oleg Shparber | 2023-10-01 22:07:18 -0400 |
commit | 10141f5cd6012a742f10d28126950513329f0016 (patch) | |
tree | f863e6b5802f2f64cd6d3e1e70903e9e89ead616 | |
parent | e44ecbc8eb925fead258895a23de95372055f373 (diff) | |
download | aur-zeal-git.tar.gz |
Update to match official package more closely
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | PKGBUILD | 44 |
2 files changed, 44 insertions, 15 deletions
@@ -1,7 +1,7 @@ pkgbase = zeal-git - pkgdesc = A simple documentation browser + pkgdesc = Offline documentation browser pkgver = 0.7.0.r0.g90ad776 - pkgrel = 2 + pkgrel = 3 url = https://zealdocs.org/ arch = aarch64 arch = i686 @@ -11,9 +11,18 @@ pkgbase = zeal-git makedepends = extra-cmake-modules makedepends = git makedepends = ninja + depends = glibc + depends = gcc-libs depends = hicolor-icon-theme - depends = libarchive depends = qt6-webengine + depends = qt6-base + depends = qt6-webchannel + depends = sqlite + depends = libarchive + depends = libxcb + depends = libx11 + depends = xcb-util-keysyms + provides = zeal conflicts = zeal source = zeal::git+https://github.com/zealdocs/zeal#branch=main sha1sums = SKIP @@ -5,32 +5,52 @@ _builddir=build pkgname=${_appname}-git pkgver=0.7.0.r0.g90ad776 -pkgrel=2 -pkgdesc="A simple documentation browser" +pkgrel=3 +pkgdesc='Offline documentation browser' arch=('aarch64' 'i686' 'x86_64') url="https://zealdocs.org/" license=('GPL3') -depends=('hicolor-icon-theme' 'libarchive' 'qt6-webengine') -makedepends=('cmake' 'extra-cmake-modules' 'git' 'ninja') +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' + 'ninja' +) provides=(${_appname}) conflicts=(${_appname}) source=("${_appname}::git+https://github.com/zealdocs/${_appname}#branch=main") sha1sums=('SKIP') pkgver() { - cd ${_appname} - git describe --long | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' + cd ${_appname} + + git describe --long | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' } build() { - cmake -G Ninja -B "${_builddir}" \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_BUILD_TYPE=RelWithDebInfo \ - "${srcdir}/${_appname}" + cmake \ + -G Ninja \ + -B "${_builddir}" \ + -S "${_appname}" \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_BUILD_TYPE=RelWithDebInfo - cmake --build "${_builddir}" + cmake --build "${_builddir}" } package() { - cmake --install "${_builddir}" --prefix "${pkgdir}/usr" + cmake --install "${_builddir}" --prefix "${pkgdir}/usr" } |