Converted mapleconf to Lua

This commit is contained in:
Alexander Hill
2026-01-30 01:06:32 -05:00
parent 50710f364f
commit a42d34f3af
13 changed files with 189 additions and 114 deletions

View File

@@ -0,0 +1,19 @@
# Maintainer: Alexander Hill <ahill@breadpudding.dev>
SRC_HASH="82cd9a96c41a4a3205c050206f0564ff4456f773a8f9ffc9235ff8f1907ca5e6"
SRC_NAME="luaposix"
SRC_URL="https://github.com/luaposix/luaposix/archive/refs/tags/v36.3.tar.gz"
SRC_VERSION="36.3"
SRC_FILENAME="luaposix-$SRC_VERSION.tar.gz"
build() {
tar xf ../$SRC_FILENAME
cd luaposix-$SRC_VERSION/
./build-aux/luke
./build-aux/luke install PREFIX=$TT_INSTALLDIR
# NOTE: I may be wrong since I've never used it before, but it seems that
# "luke" doesn't install the library to the correct path, nor does it
# have an option to correct it. ~ahill
mkdir -p $TT_INSTALLDIR/usr
mv $TT_INSTALLDIR/share $TT_INSTALLDIR/usr/
}