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

29
old/reflex/build.sh Normal file
View file

@ -0,0 +1,29 @@
pkgname=reflex
pkgver=20210510
fetch() {
curl "https://invisible-island.net/datafiles/release/reflex.tar.gz" -o $pkgname-$pkgver.tar.gz
tar -xf $pkgname-$pkgver.tar.gz
}
build() {
cd $pkgname-$pkgver
./configure \
--prefix=/usr \
--build=$TRIPLE \
--host=$TRIPLE
make
}
package() {
cd $pkgname-$pkgver
make install DESTDIR=$pkgdir
ln -sr $pkgdir/usr/bin/reflex $pkgdir/usr/bin/lex
}
license() {
cd $pkgname-$pkgver
cat COPYING
}