PKGBUILD 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. # Maintainer: Bartłomiej Piotrowski <bpiotrowski@archlinux.org>
  2. # Contributor: Gaetan Bisson <bisson@archlinux.org>
  3. # Contributor: Eric Bélanger <eric@archlinux.org>
  4. pkgname=procps-ng
  5. pkgver=3.3.15
  6. pkgrel=1
  7. pkgdesc='Utilities for monitoring your system and its processes'
  8. url='https://gitlab.com/procps-ng/procps'
  9. license=(GPL LGPL)
  10. arch=(x86_64 ppc64le)
  11. groups=(base)
  12. depends=(ncurses libsystemd)
  13. makedepends=(systemd)
  14. conflicts=(procps sysvinit-tools)
  15. provides=(procps sysvinit-tools)
  16. replaces=(procps sysvinit-tools)
  17. install=install
  18. source=(https://downloads.sourceforge.net/project/$pkgname/Production/${pkgname}-${pkgver}.tar.xz)
  19. sha256sums=('10bd744ffcb3de2d591d2f6acf1a54a7ba070fdcc432a855931a5057149f0465')
  20. prepare() {
  21. cd $pkgname-$pkgver
  22. sed 's:<ncursesw/:<:g' -i watch.c
  23. }
  24. build() {
  25. cd $pkgname-$pkgver
  26. ./configure \
  27. --prefix=/usr \
  28. --exec-prefix=/ \
  29. --sysconfdir=/etc \
  30. --libdir=/usr/lib \
  31. --bindir=/usr/bin \
  32. --sbindir=/usr/bin \
  33. --enable-watch8bit \
  34. --with-systemd \
  35. --disable-modern-top \
  36. --disable-kill
  37. make
  38. }
  39. package() {
  40. cd $pkgname-$pkgver
  41. make DESTDIR="$pkgdir" install
  42. }