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

recipes/utils/libutempter/PAGBUILD.yaml main

26 linii Raw ← Powrót
1234567891011121314151617181920212223242526
pkgname: libutempter
pkgver: '1.2.3'
pkgrel: '1'
pkgdesc: Interface for terminal emulators to record user sessions to utmp and wtmp files.
url: 'ftp://ftp.altlinux.org/pub/people/ldv/utempter'
arch: x86_64
license:
- LGPL2.1
depends: []
makedepends: []
source:
- 'https://github.com/altlinux/libutempter/archive/refs/tags/${pkgver}-alt1.tar.gz'
sha256sums:
- 52809c75af9b0e13249521177def85787f457888cbcee5511bf96fe06e146711
build: |
  mv ${pkgname}-${pkgver}-* ${pkgname}-${pkgver}
  cd ${pkgname}-${pkgver}/${pkgname}

  make
  make DESTDIR=${PKGDIR} install
  chown root:utmp ${PKGDIR}/usr/lib/utempter/utempter
  chmod 2755 ${PKGDIR}/usr/lib/utempter/utempter

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