flex: Update to 2.6.4
This commit is contained in:
parent
a1f4833a94
commit
f5bd91d87d
@ -1,7 +1,7 @@
|
||||
# Maintainer: Alexey Pavlov <alexpux@gmail.com>
|
||||
|
||||
pkgname=flex
|
||||
pkgver=2.6.3
|
||||
pkgver=2.6.4
|
||||
pkgrel=1
|
||||
pkgdesc="A tool for generating text-scanning programs"
|
||||
arch=('i686' 'x86_64')
|
||||
@ -12,9 +12,9 @@ depends=('m4' 'sh' 'libiconv' 'libintl')
|
||||
makedepends=('libiconv-devel' 'gettext-devel')
|
||||
options=('staticlibs')
|
||||
install=flex.install
|
||||
source=(https://github.com/westes/flex/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.lz
|
||||
source=(https://github.com/westes/flex/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.gz
|
||||
flex-2.5.38-msys2.patch)
|
||||
sha256sums=('907eeec6db1af86a26921888c2912e5d68ac5499ce5727d7b850a666ae209326'
|
||||
sha256sums=('e87aae032bf07c26f85ac0ed3250998c37621d95f8bd748b31f15b33c45ee995'
|
||||
'6ffcb831faa9c29c44b717825744887ea5b3945605153831339e0b8a37cbe5c3')
|
||||
|
||||
prepare() {
|
||||
@ -51,8 +51,12 @@ package() {
|
||||
cd ${srcdir}/${pkgname}-${pkgver}
|
||||
|
||||
make DESTDIR=${pkgdir} install
|
||||
cp -f ${pkgdir}/usr/bin/flex.exe ${pkgdir}/usr/bin/flex++.exe
|
||||
cp -f ${pkgdir}/usr/bin/flex.exe ${pkgdir}/usr/bin/lex.exe
|
||||
if [ ! -f ${pkgdir}/usr/bin/flex++.exe ]; then
|
||||
cp -f ${pkgdir}/usr/bin/flex.exe ${pkgdir}/usr/bin/flex++.exe
|
||||
fi
|
||||
if [ ! -f ${pkgdir}/usr/bin/lex.exe ]; then
|
||||
cp -f ${pkgdir}/usr/bin/flex.exe ${pkgdir}/usr/bin/lex.exe
|
||||
fi
|
||||
|
||||
install -Dm644 COPYING ${pkgdir}/usr/share/licenses/${pkgdir}/license.txt
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user