1
0
Fork 0
mirror of https://github.com/kbumsik/VirtScreen.git synced 2025-03-09 15:40:18 +00:00

Debian: upgraded to AppImage based package

This commit is contained in:
Bumsik Kim 2018-06-26 13:12:34 -04:00
parent 7dcf8a8bde
commit 2bf8dedf9d
No known key found for this signature in database
GPG key ID: E31041C8EC5B01C6
10 changed files with 60 additions and 72 deletions

View file

@ -30,6 +30,7 @@ wheel-clean:
# For AppImage packaging, https://github.com/AppImage/AppImageKit/wiki/Creating-AppImages
.PHONY: appimage-clean
.SECONDARY: package/appimage/VirtScreen-x86_64.AppImage
package/appimage/%.AppImage:
$(DOCKER_RUN) package/appimage/build.sh
@ -38,21 +39,20 @@ package/appimage/%.AppImage:
appimage-clean:
-rm -rf package/appimage/virtscreen.AppDir package/appimage/VirtScreen-x86_64.AppImage
# For Debian packaging, https://www.debian.org/doc/manuals/debmake-doc/ch08.en.html#setup-py
# For Debian packaging, https://www.debian.org/doc/manuals/maint-guide/index.en.html
# https://www.debian.org/doc/manuals/debmake-doc/ch08.en.html#setup-py
.PHONY: deb-contents deb-clean
package/debian/%.deb:
$(DOCKER_RUN) package/debian/debmake.sh
$(DOCKER_RUN) package/debian/copy_debian.sh
$(DOCKER_RUN) package/debian/debuild.sh
$(DOCKER_RUN) chown -R $(shell id -u):$(shell id -u) package/debian/build
cp package/debian/build/virtscreen*.deb package/debian
package/debian/%.deb: package/appimage/VirtScreen-x86_64.AppImage
$(DOCKER_RUN) package/debian/build.sh
$(DOCKER_RUN) chown -R $(shell id -u):$(shell id -u) package/debian
deb-contents:
$(DOCKER_RUN) dpkg -c package/debian/*.deb
deb-clean:
rm -rf package/debian/build package/debian/*.deb
rm -rf package/debian/build package/debian/*.deb package/debian/*.buildinfo \
package/debian/*.changes
# For AUR: https://wiki.archlinux.org/index.php/Python_package_guidelines
# and: https://wiki.archlinux.org/index.php/Creating_packages
@ -95,7 +95,7 @@ override-version:
package/archlinux/PKGBUILD
# Debian
perl -pi -e "s/PKGVER=\d+\.\d+\.\d+/PKGVER=$(VERSION)/" \
package/debian/_common.sh
package/debian/build.sh
# Clean packages
clean: appimage-clean arch-clean deb-clean wheel-clean