mirror of
https://github.com/SchildiChat/schildichat-desktop.git
synced 2025-06-10 04:35:52 +02:00
Add target to create a local PKGBUILD to install .deb on Arch
pacman target is somewhat broken, so let's do it similarly like the official AUR package for local installs.
This commit is contained in:
9
Makefile
9
Makefile
@ -1,4 +1,4 @@
|
||||
.PHONY: all setup web desktop desktop-common linux windows windows-portable
|
||||
.PHONY: all setup web desktop desktop-common linux debian pacman local-pkgbuild local-pkgbuild-install windows windows-portable
|
||||
.PHONY: web-release debian-release pacman-release windows-setup-release windows-unpacked-release windows-portable-release windows-release release
|
||||
.PHONY: clean
|
||||
|
||||
@ -67,6 +67,12 @@ windows: desktop-common
|
||||
windows-portable: desktop-common
|
||||
$(YARN) --cwd element-desktop run build64windows-portable
|
||||
|
||||
local-pkgbuild: debian
|
||||
./create_local_pkgbuild.sh $(VERSION) $(DESKTOP_APP_NAME) $(PRODUCT_NAME) $(OUT_DEB64)
|
||||
|
||||
local-pkgbuild-install: local-pkgbuild
|
||||
cd local-pkgbuild; makepkg --install
|
||||
|
||||
web-release: web
|
||||
mkdir -p $(CURRENT_RELEASE_DIR)
|
||||
cp $(OUT_WEB) $(CURRENT_RELEASE_DIR)
|
||||
@ -105,3 +111,4 @@ clean:
|
||||
$(YARN) --cwd element-desktop clean
|
||||
rm -f element-desktop/webapp
|
||||
rm -rf element-web/dist
|
||||
rm -rf local-pkgbuild
|
||||
|
Reference in New Issue
Block a user