ulauncher 安装

  1. make deb

Bash scripting in Makefile guide:

1. Either set .ONESHELL: (applies for all recipes) or write a single line

(by escaping with backslash at the end of the line)

2. Start every line with @ or it will print the line.

(with .ONESHELL: or if you’re escaping that applies ONLY to the first line)

3. Use ${VAR} to use makefile variables and $$VAR for runtime/bash variables

4. Instead of $(cmd) for subshells you need to run $(shell eval “cmd”)

5. You can’t pass arguments. ie: make run build will run make run, then make build

What you should do instead is to set override the vars make run VAR=build

rm -rf dist/ulauncher_deb || true

(shell eval “command -v dpkg-buildpackage”)

tar --strip-components=1 -xvf dist/ulauncher-${VERSION}.tar.gz --one-top-level=dist/ulauncher_deb

tar --transform 's|^\.|ulauncher|' --exclude-vcs --exclude-ignore-recursive=.tarignore -zcf dist/ulauncher-${VERSION}.tar.gz .

if [ -z “$(FORCE)” ] && [ -d data/preferences ] && [ -z $(shell eval “find preferences-src -newer data/preferences -print -quit”) ] ;

exec D O C K E R B I N r u n   − − r m   − i t   − v " {DOCKER_BIN} run \ --rm \ -it \ -v " DOCKERBINrun rm it v"{PWD}:/src/ulauncher V O L S U F F I X "   − v " VOL_SUFFIX" \ -v " VOLSUFFIX" v"HOME/.bash_history:/home/ulauncher/.bash_historyKaTeX parse error: Can't use function '$' in math mode at position 66: …\ "docker.io/$̲{DOCKER_IMAGE}"…SHELL_CMD";

apt update
apt install debhelper dh-python python3-all
3. dpkg -i *.dev
4. dpkt -r *

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值