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

recipes/core/m4/PAGBUILD.yaml main

24 linii Raw ← Powrót
123456789101112131415161718192021222324
pkgname: m4
pkgver: '1.4.21'
pkgrel: '1'
pkgdesc: The M4 package contains a macro processor
url: 'http://www.seindal.dk/rene/gnu/'
arch: x86_64
depends: []
makedepends: []
source:
- 'https://ftp.gnu.org/gnu/m4/m4-${pkgver}.tar.xz'
sha256sums:
- f25c6ab51548a73a75558742fb031e0625d6485fe5f9155949d6486a2408ab66
build: |
  cd m4-${pkgver}

  sed -i 's/IO_ftrylockfile/IO_EOF_SEEN/' lib/*.c
  echo "#define _IO_IN_BACKUP 0x100" >> lib/stdio-impl.h

  ./configure --prefix=/usr
  make
  make check || true
  make DESTDIR=${PKGDIR} install
package: |
  true