Removed extraneous README file in extra/FEH Discarded DEBUG=0 build flag in extra/cmus
37 lines
813 B
Text
Executable file
37 lines
813 B
Text
Executable file
app=toluapp
|
|
version=1.0.93
|
|
build=2sml
|
|
homepage="https://github.com/LuaDist/toluapp"
|
|
download="https://github.com/LuaDist/toluapp/archive/refs/tags/$version.tar.gz"
|
|
desc="tool to integrate C/C++ code with Lua"
|
|
requires="lua"
|
|
|
|
prepbuilddir() {
|
|
mkandenterbuilddir
|
|
rm -rf $app-$version
|
|
|
|
tar xf $srcdir/$app-$version.tar.?z*
|
|
cd $app-$version
|
|
fixbuilddirpermissions
|
|
}
|
|
|
|
build() {
|
|
mkdir -p smbuild && cd smbuild
|
|
cmake .. \
|
|
-DCMAKE_INSTALL_PREFIX="" \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DINSTALL_DOC="/share/doc/$app-$version"
|
|
|
|
make
|
|
make install DESTDIR=$pkg
|
|
|
|
rm -r $pkg/share/$app
|
|
|
|
cp ../README* $pkgdocs/
|
|
|
|
mkfinalpkg
|
|
}
|
|
|
|
sha512sums="
|
|
dcfbc7ebd80d4901f99a24499d67e2d5fdd2572b8313c5d53bc74c9fe7c77873c2a918ff170ea49fe994d3e31cee2e6ff5c54cbbca940a4c8212c7cd1067cd96 toluapp-1.0.93.tar.lz
|
|
"
|