moving packages

This commit is contained in:
Ella-0 2021-07-31 12:55:09 +00:00
parent d2235a7fc5
commit 7488ce0293
48 changed files with 0 additions and 0 deletions

29
base/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
}