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

recipes/core/kbd/PAGBUILD.yaml main

38 linii Raw ← Powrót
1234567891011121314151617181920212223242526272829303132333435363738
pkgname: kbd
pkgver: '2.10.0'
pkgrel: '1'
pkgdesc: The Kbd package contains key-table files, console fonts, and keyboard utilities
url: 'ftp://devel.altlinux.org/legion/kbd/'
arch: x86_64
depends: []
makedepends:
- autoconf
- check
- m4
- perl
source:
- 'https://www.kernel.org/pub/linux/utils/kbd/kbd-${pkgver}.tar.xz'
- 'https://www.linuxfromscratch.org/patches/lfs/development/${pkgname}-${pkgver}-backspace-1.patch'
sha256sums:
- 6e5ca4f8d76ee9e3a8db700b667f13e12aac9933828a64e1aaad93d26be9b479
- SKIP
build: |
  cd kbd-${pkgver}

  patch -Np1 -i ../${pkgname}-${pkgver}-backspace-1.patch

  sed -i 's/\(RESIZECONS_PROGS=\)yes/\1no/g' configure
  sed -i 's/resizecons.8 //' docs/man/man8/Makefile.in

  ./configure --prefix=/usr --disable-vlock \
              --disable-tests

  make
  make check || true
  make DESTDIR=${PKGDIR} install

  mkdir -pv ${PKGDIR}/usr/share/doc/${pkgname}
  cp -R -v docs/doc/* \
  ${PKGDIR}/usr/share/doc/${pkgname}
package: |
  true