replace flex as default lex

This commit is contained in:
Ella-0 2021-09-26 11:43:51 +00:00
parent 6a03423232
commit 2b88699048
3 changed files with 0 additions and 1 deletions

View file

@ -1,8 +1,8 @@
pkgname=reflex
pkgver=20210510
pkgname=flex
pkgver=2.6.4
fetch() {
curl "https://invisible-island.net/datafiles/release/reflex.tar.gz" -o $pkgname-$pkgver.tar.gz
curl -L "https://github.com/westes/flex/releases/download/v2.6.4/flex-$pkgver.tar.gz" -o $pkgname-$pkgver.tar.gz
tar -xf $pkgname-$pkgver.tar.gz
}
@ -19,11 +19,10 @@ build() {
package() {
cd $pkgname-$pkgver
make install DESTDIR=$pkgdir
ln -sr $pkgdir/usr/bin/reflex $pkgdir/usr/bin/lex
}
license() {
cd $pkgname-$pkgver
cat COPYING
cat LICENSE
# cat COPYING
}