mirror of
https://gitflic.ru/project/astankevich/mtpview.git
synced 2025-01-18 12:08:35 +01:00
20 lines
347 B
Bash
20 lines
347 B
Bash
#!/usr/bin/sh
|
|
|
|
#Making package dirs
|
|
mkdir -p pkg/apps
|
|
mkdir -p pkg/data/deskbar/menu/Applications
|
|
|
|
#Update binary
|
|
cp mtpview pkg/apps/mtpview
|
|
chmod +x pkg/apps/mtpview
|
|
|
|
#Make menu stortcut
|
|
pushd pkg/data/deskbar/menu/Applications
|
|
ln -s -r ../../../../apps/mtpview mtpview
|
|
popd
|
|
|
|
#Create package
|
|
pushd pkg
|
|
package create -C ./ ../mtpview.hpkg
|
|
popd
|