PKGBUILD 1.4 KB

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