PKGBUILD 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. # Maintainer (Arch): Robin Broda <robin@broda.me>
  2. # Contributor (Arch): X0rg
  3. # Contributor (Arch): marlock <marlock87@hotmail.com>
  4. # Contributor (Arch): Diogo Leal <estranho@diogoleal.com>
  5. # Maintainer: Freemor <freemor@freemor.ca>
  6. pkgname=psensor
  7. pkgver=1.2.0
  8. pkgrel=7
  9. pkgrel+=.parabola1
  10. pkgdesc='A graphical hardware temperature monitor for Linux'
  11. pkgdesc+=', without nonfree libxnvctrl'
  12. arch=('x86_64')
  13. arch+=('i686' 'armv7h')
  14. url='https://wpitchoune.net/psensor'
  15. license=('GPL2')
  16. depends=('lm_sensors' 'dconf' 'gtk3' 'udisks2' 'curl' 'libgtop' 'libnotify'
  17. 'json-c' 'libmicrohttpd')
  18. makedepends=('help2man')
  19. source=("https://wpitchoune.net/${pkgname}/files/${pkgname}-${pkgver}.tar.gz"
  20. 'is_error.patch')
  21. sha512sums=('274928190a53f3603f7db4ea81057497bfa01b9d0f8b4eb2f5f5094fd944ee384aff8f9c21b9c85ea001cbe877e7dc020963c0570f000ef42b302cb54b038e4d'
  22. 'fa1f0a8cdbd75fba2ad980a5beb1807e533ef12154db1f0cc97c9130080584cb0251e29a56068b0400f152e540f326a7b16749bf11b1e844d1d519d7bb0e71ed')
  23. prepare() {
  24. cd "${pkgname}-${pkgver}"
  25. patch -Np1 -i "${srcdir}/is_error.patch"
  26. }
  27. build() {
  28. cd "${pkgname}-${pkgver}"
  29. ./configure --prefix=/usr
  30. make
  31. }
  32. package() {
  33. cd "${pkgname}-${pkgver}"
  34. make DESTDIR="${pkgdir}/" install
  35. }