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

recipes/core/flex/PAGBUILD.yaml main

29 linii Raw ← Powrót
1234567891011121314151617181920212223242526272829
pkgname: flex
pkgver: '2.6.4'
pkgrel: '6'
pkgdesc: A tool for generating text-scanning programs
url: 'https://flex.sourceforge.net'
arch: x86_64
license:
- Custom
depends: []
makedepends:
- m4
source:
- 'https://github.com/westes/flex/releases/download/v${pkgver}/flex-${pkgver}.tar.gz'
sha256sums:
- e87aae032bf07c26f85ac0ed3250998c37621d95f8bd748b31f15b33c45ee995
build: |
  cd flex-${pkgver}

  ./configure --prefix=/usr \
  --docdir=/usr/share/doc/flex-${pkgver}

  make
  make -k check||true

  make DESTDIR=${PKGDIR} install

  ln -sv flex ${PKGDIR}/usr/bin/lex
package: |
  true