Created
September 11, 2019 04:05
-
-
Save apples/248f9f5eea4d88b8ec702f93a2baeed0 to your computer and use it in GitHub Desktop.
RE/flex msys2 pkgbuild
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| _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