Skip to content

Instantly share code, notes, and snippets.

@apples
Created September 11, 2019 04:05
Show Gist options
  • Select an option

  • Save apples/248f9f5eea4d88b8ec702f93a2baeed0 to your computer and use it in GitHub Desktop.

Select an option

Save apples/248f9f5eea4d88b8ec702f93a2baeed0 to your computer and use it in GitHub Desktop.
RE/flex msys2 pkgbuild
_realname=reflex
pkgbase=mingw-w64-x86_64-${_realname}
pkgname=("${MINGW_PACKAGE_PREFIX}-${_realname}")
pkgver=1.4.0
pkgrel=1
pkgdesc="Regex-centric, fast lexical analyzer generator for C++ with full Unicode support (mingw-w64)"
arch=('any')
url="https://www.genivia.com/doc/reflex/html/index.html"
license=('BSD-3')
depends=()
makedepends=()
source=("${_realname}-${pkgver}.tar.gz"::"https://github.com/Genivia/RE-flex/archive/v${pkgver}.tar.gz")
sha256sums=('bca26e879bb339558cb3a3795f0792beee0958818338da786b8519b2d812ce3f')
build() {
cd ${srcdir}/RE-flex-${pkgver}
./configure --prefix="${pkgdir}${MINGW_PREFIX}"
make
}
package() {
cd ${srcdir}/RE-flex-${pkgver}
make install
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment