PKGBUILD 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. # Contributor: Peter Richard Lewis <plewis@aur.archlinux.org>
  2. # Contributor: Andrea Scarpino <andrea@archlinux.org>
  3. # Contributor: Emanuele Rossi <newdna1510@yahoo.it>
  4. # Contributor: Bram Schoenmakers <me@bramschoenmakers.nl>
  5. # Contributor: Márcio Silva <coadde@hyperbola.info>
  6. # Maintainer: Parabola Hackers <dev@lists.parabola.nu>
  7. pkgname=choqok
  8. pkgver=1.6.0
  9. pkgrel=2
  10. pkgrel+=.nonprism1
  11. pkgdesc="A Pump.io/GNU social client for KDE, without Twitter support"
  12. url='https://choqok.gnufolks.org/'
  13. license=('GPL')
  14. arch=('x86_64')
  15. arch+=('i686')
  16. depends=('qoauth' 'knotifyconfig' 'kcmutils' 'kemoticons' 'kdewebkit' 'hicolor-icon-theme')
  17. makedepends=('extra-cmake-modules' 'telepathy-qt' 'kdoctools')
  18. optdepends=('telepathy-qt: IMstatus plugin')
  19. source=("https://download.kde.org/stable/${pkgname}/${pkgver%.*}/src/${pkgname}-${pkgver}.tar.xz"{,.sig})
  20. source+=('nonprism.patch')
  21. md5sums=('f61ff13a748a78bb01433c5419c7cc13'
  22. 'SKIP'
  23. 'f68bf572317277170b397347b928493f')
  24. validpgpkeys=('2C7849767F14C23890B12791918F7DDFFD8D0B6E') # Andrea Scarpino <me@andreascarpino.it>
  25. prepare() {
  26. mkdir -p build
  27. cd "${srcdir}/${pkgname}-${pkgver}"
  28. patch -p1 -i ../nonprism.patch
  29. }
  30. build() {
  31. cd build
  32. cmake ../${pkgname}-${pkgver} \
  33. -DCMAKE_BUILD_TYPE=Release \
  34. -DCMAKE_INSTALL_PREFIX=/usr \
  35. -DKDE_INSTALL_LIBDIR=lib \
  36. -DBUILD_TESTING=OFF
  37. make
  38. }
  39. package() {
  40. cd build
  41. make DESTDIR="${pkgdir}" install
  42. }