PKGBUILD 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. # Maintainer (arch): Balló György <ballogyor+arch at gmail dot com>
  2. # Maintainer: Parabola Hackers <dev@lists.parabola.nu>
  3. # parabola changes and rationale:
  4. # - fix neglected upstream bug (redmine #3376 - arch #71248)
  5. # - declare zeitgeist-logo.svg license
  6. pkgname=zeitgeist-explorer
  7. pkgver=0.2
  8. pkgrel=11
  9. pkgrel+=.parabola1
  10. pkgdesc="Graphical interface to monitor and inspect Zeitgeist's log at a low level"
  11. arch=('any')
  12. url="https://launchpad.net/zeitgeist-explorer"
  13. license=('LGPL')
  14. license+=('CCPL:by-sa') # logo file
  15. depends=('gtk3' 'python-dbus' 'python-gobject' 'zeitgeist')
  16. makedepends=('python-distutils-extra')
  17. source=(https://launchpad.net/$pkgname/0.x/$pkgver/+download/$pkgname-$pkgver.tar.gz{,.asc}
  18. zeitgeist-logo.svg
  19. zeitgeist-explorer.appdata.xml
  20. python3.patch)
  21. source+=(missing-require_version.patch) # https://bugs.archlinux.org/task/71248?getfile=20408
  22. validpgpkeys=('EEE420E481E68B71594F192D361CC5EBA0BA909F') # Manish Sinha
  23. md5sums=('8521b2c8ecc3f0d425e6806dcb2fde59'
  24. 'SKIP'
  25. 'b536f1bf53bb0e25a47ca275e1740851'
  26. '12c14b97ba10d74fefaeb01b9ea6cc99'
  27. 'da99b6f8cdde76594241f5799e97c0e9')
  28. md5sums+=('033c696ed77f6b60bff7ca8b188518f4')
  29. sha256sums=('ac12e520713e86606f15335a182b5b5d3fbf6b132a0137940505e0af62153423'
  30. 'SKIP'
  31. '8d01d96a07b4e903e4584158cd8044080c7b3d1178d58654c637452ece1f3173'
  32. '3fd945914ee5e991af4af9bde7690728245de78dea8d319c6d27f93092c04f77'
  33. '8618b5949771a43fa6871cad1579347b039abffd151b64ce0c6e2cd0b05effa4')
  34. sha256sums+=('41225d1a94d14cc11e30c86aa38955ea2b93cb8fa51f6acad546913a07299eb8')
  35. prepare() {
  36. cd $pkgname-$pkgver
  37. # Python 3 port
  38. patch -Np1 -i ../python3.patch
  39. echo "applying missing-require_version.patch"
  40. patch -Np1 -i ../missing-require_version.patch
  41. }
  42. build() {
  43. cd $pkgname-$pkgver
  44. python3 setup.py build
  45. }
  46. package() {
  47. cd $pkgname-$pkgver
  48. python3 setup.py install --root="$pkgdir" --optimize=1
  49. install -Dm644 ../zeitgeist-logo.svg "$pkgdir/usr/share/icons/hicolor/scalable/apps/zeitgeist-explorer.svg"
  50. install -Dm644 ../$pkgname.appdata.xml "$pkgdir/usr/share/metainfo/$pkgname.appdata.xml"
  51. rm -r "$pkgdir/usr/data"
  52. }