#!/bin/bash DEPS=(glibc m4 sh) SOURCE=https://github.com/westes/flex/releases/download/v2.6.4/flex-2.6.4.tar.gz DESC="a utility for generating programs that recognize patterns in text" build () { ./autogen.sh ./configure --prefix=/usr --docdir=/usr/share/doc/flex --disable-static make make check make DESTDIR=$PKG_DEST install } package () { ln -v $PKG_DEST/usr/bin/flex $PKG_DEST/usr/bin/lex }