Kaydet (Commit) 61c90a32 authored tarafından sulincix's avatar sulincix

appimage fixes

üst 55693f2b
......@@ -22,7 +22,7 @@ echo "Name=$name"
[ "$executable" == "" ] && export executable=$name
echo "Exec=$executable"
echo "Comment=$summary"
[ "$icon" == "" ] export icon=$name
[ "$icon" == "" ] && export icon=$name
echo "Icon=$name"
if [ "$categories" == "" ] ; then
echo "Categories=$categories"
......@@ -39,7 +39,10 @@ _create_metadata(){
}
_package(){
# checking appimagekit
[ -f ~/.appimagekit ] || wget -c https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-$(uname -m).AppImage -O ~/.appimagekit
if [ ! -f ~/.appimagekit ] ; then
wget -c https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-$(uname -m).AppImage -O ~/.appimagekit
chmod +x ~/.appimagekit
fi
cp -prfv $INSTALLDIR/* $PKGDIR/
cd $CURDIR
ARCH=$(uname -m) ~/.appimagekit $PKGDIR
......
#!/bin/bash
set -e
[ "$MODDIR" == "" ] && export MODDIR=/usr/lib/unibuild/modules
for mod in $(ls $MODDIR) ; do
source $MODDIR/$mod
......@@ -6,7 +7,6 @@ done
source $1
source $MODDIR/../target/$TARGET
source $MODDIR/../host/$HOST
set -e
_get_build_deps
cd $BUILDDIR
_fetch
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment