Advertisement
Guest User

PKGBUILD for kile-git

a guest
Mar 9th, 2024
41
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.53 KB | None | 0 0
  1. # Merged with official ABS kile PKGBUILD by João, 2024/03/04 (all respective contributors apply herein)
  2. # Maintainer: João Figueiredo & chaotic-aur <islandc0der@chaotic.cx>
  3. # Contributor: TH Campbell (dysphoria) <thcampbell (at) protonmail (dot) com>
  4. # Contributor: fclad <fcladera at fcladera.com>
  5. # Contributor: Antonio Rojas
  6. # Contributor: prettyvanilla <prettyvanilla at posteo.at>
  7. # Contributor: vnoel <victor.noel at crazydwarves dot org>
  8.  
  9. pkgname=kile
  10. pkgver=3.0b2_r3580.gf8632816
  11. pkgrel=1
  12. pkgdesc='A user friendly TeX/LaTeX frontend for KDE'
  13. arch=($CARCH)
  14. url='https://apps.kde.org/kile/'
  15. license=(GPL-2.0-only)
  16. depends=(gcc-libs glibc kcodecs kcompletion kconfig kconfigwidgets kcoreaddons kcrash kdbusaddons kguiaddons ki18n kiconthemes kinit kio kjobwidgets kparts kservice ktexteditor ktextwidgets kwidgetsaddons kwindowsystem kxmlgui okular kcolorscheme hicolor-icon-theme perl poppler-qt6 qt6-base qt6-5compat qt6-declarative texlive-basic)
  17. makedepends=(git extra-cmake-modules kdoctools okular)
  18. optdepends=('konsole: embedded terminal' 'imagemagick: for some file type conversions')
  19. conflicts=(${pkgname%})
  20. provides=(${pkgname%})
  21. source=("git+https://github.com/KDE/${pkgname%}.git")
  22. sha256sums=('SKIP')
  23.  
  24. pkgver() {
  25. cd ${pkgname%}
  26. _ver="$(git describe | sed 's/^v//;s/-.*//')"
  27. echo "${_ver}_r$(git rev-list --count HEAD).g$(git rev-parse --short HEAD)"
  28. }
  29.  
  30. build() {
  31. cmake -B build -S ${pkgname%} \
  32. -DQT_MAJOR_VERSION=6
  33. cmake --build build
  34. }
  35.  
  36. package() {
  37. DESTDIR="$pkgdir" cmake --install build
  38. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement