lxpanel done

This commit is contained in:
aliriza committed 2023-03-16 07:49:39 +00:00
1 parent 2157bf3d33
commit 468a52716c
10 files changed
+88 -22

No files matched your search

+11 -3
View File
@@ -17,9 +17,17 @@ arch=('x86_64')
cd $name-$version
_make() (
prepare(){
# tools/configure.py needs Python 2
sed -i 's/^#undef DUK_USE_FASTINT$/#define DUK_USE_FASTINT/' src/duk_config.h
# Add missing NEEDED on libm.so
sed -i 's/duktape\.c/& -lm/' Makefile.sharedlibrary
}
_make(){
make -f Makefile.sharedlibrary INSTALL_PREFIX=/usr "$@"
)
}
build(){
_make
@@ -27,6 +35,6 @@ build(){
package(){
_make DESTDIR="$DESTDIR" install
install -Dt "$DESTDIR/usr/share/licenses/$name" -m644 LICENSE.txt
install -Dt "$DESTDIR/usr/share/licenses/$name" -m644 LICENSE.txt
}