mirror of
https://gitflic.ru/project/astankevich/mtpview.git
synced 2024-11-23 06:58:25 +01:00
22 lines
384 B
Bash
22 lines
384 B
Bash
#!/usr/bin/sh
|
|
|
|
#Making package dirs
|
|
mkdir -p pkg/apps
|
|
mkdir -p pkg/data/deskbar/menu/Applications
|
|
|
|
#Update binary
|
|
rm -f pkg/apps/mtpview
|
|
cp mtpview pkg/apps/mtpview
|
|
chmod +x pkg/apps/mtpview
|
|
|
|
#Make menu stortcut
|
|
pushd pkg/data/deskbar/menu/Applications
|
|
rm -f mtpview
|
|
ln -s -r ../../../../apps/mtpview mtpview
|
|
popd
|
|
|
|
#Create package
|
|
pushd pkg
|
|
package create -C ./ ../mtpview.hpkg
|
|
popd
|