🔒 Repository is read-only – file editing is disabled.

recipes/utils/sysstat/PAGBUILD.yaml main

35 linii Raw ← Powrót
1234567891011121314151617181920212223242526272829303132333435
pkgname: sysstat
pkgver: '12.7.9'
pkgrel: '1'
pkgdesc: Utilities to monitor system performance and usage activity.
url: 'https://github.com/sysstat/sysstat'
arch: x86_64
license:
- GPL2
depends: []
makedepends: []
source:
- 'https://github.com/sysstat/sysstat/archive/refs/tags/v${pkgver}.tar.gz'
sha256sums:
- e48fc69401135dc08d2cd4ff58dbdbfce9b7485f76fc9049d97848e313c08dda
build: |
  cd ${pkgname}-${pkgver}

  sa_lib_dir=/usr/lib/sa    \
  sa_dir=/var/log/sa        \
  conf_dir=/etc/conf.d      \
  ./configure --prefix=/usr \
              --disable-file-attr \
              --mandir=/usr/share/man \
              --enable-copy-only \
              --disable-man-group
  make
  make DESTDIR=${PKGDIR} install

  install -vdm755 ${PKGDIR}/usr/lib/systemd/system/
  install -v -m644 sysstat.service ${PKGDIR}/usr/lib/systemd/system/sysstat.service
  sed -i "/^Also=/d" ${PKGDIR}/usr/lib/systemd/system/sysstat.service

  install -Dm644 COPYING ${PKGDIR}/usr/share/licenses/${pkgname}/COPYING
package: |
  true