mirror of
https://github.com/jtgans/g13gui.git
synced 2025-06-20 00:14:09 -04:00
Adjust build rules to be self-contained
Also fixes VERSION in the Makefile, since the original code there didn't actually extract the version number from the source files correctly.
This commit is contained in:
parent
6616850ffc
commit
691e021726
17
Makefile
17
Makefile
@ -1,4 +1,4 @@
|
|||||||
VERSION := `grep "VERSION" g13gui/common.py |awk '{ print $$2 }' |sed 's/'//g'`
|
VERSION := `grep "VERSION" g13gui/common.py |awk '{ print $$3 }' |tr -d "'"`
|
||||||
GITBRANCH ?= master
|
GITBRANCH ?= master
|
||||||
PIPENV := pipenv
|
PIPENV := pipenv
|
||||||
PYTHON := `which python3`
|
PYTHON := `which python3`
|
||||||
@ -36,19 +36,20 @@ manjaro-install:
|
|||||||
makepkg -i
|
makepkg -i
|
||||||
|
|
||||||
debian:
|
debian:
|
||||||
export GITBRANCH=master
|
mkdir -p build
|
||||||
debuild
|
gbp buildpackage --git-verbose --git-debian-branch=$(GITBRANCH) -us -ui -uc
|
||||||
debclean
|
mv ../g13gui_$(VERSION)* build
|
||||||
|
|
||||||
debian-build:
|
debian-install:
|
||||||
gbp buildpackage --git-debian-branch=$(GITBRANCH)
|
sudo dpkg -i g13gui_$(VERSION).deb
|
||||||
|
|
||||||
debian-clean:
|
debian-clean:
|
||||||
debclean
|
debclean
|
||||||
|
rm -rf build
|
||||||
|
|
||||||
debian-build-source: debian-clean
|
debian-build-source: debian-clean
|
||||||
gbp buildpackage -S --git-debian-branch=$(GITBRANCH)
|
mkdir -p build
|
||||||
mkdir build
|
gbp buildpackage -S --git-verbose --git-debian-branch=$(GITBRANCH) -us -uc
|
||||||
mv ../g13gui_$(VERSION)* build
|
mv ../g13gui_$(VERSION)* build
|
||||||
|
|
||||||
debian-release: debian-build-source
|
debian-release: debian-build-source
|
||||||
|
2
debian/changelog
vendored
2
debian/changelog
vendored
@ -1,4 +1,4 @@
|
|||||||
g13 (0.1.0ubuntu1) focal; urgency=medium
|
g13gui (0.1.0ubuntu1) focal; urgency=medium
|
||||||
|
|
||||||
* Initial release of the Debian packaging for g13gui
|
* Initial release of the Debian packaging for g13gui
|
||||||
|
|
||||||
|
4
debian/control
vendored
4
debian/control
vendored
@ -1,4 +1,4 @@
|
|||||||
Source: g13
|
Source: g13gui
|
||||||
Section: misc
|
Section: misc
|
||||||
Priority: optional
|
Priority: optional
|
||||||
Maintainer: June Tate-Gans <june@theonelab.com>
|
Maintainer: June Tate-Gans <june@theonelab.com>
|
||||||
@ -12,7 +12,7 @@ Homepage: https://github.com/jtgans/g13gui
|
|||||||
Vcs-Browser: https://github.com/jtgans/g13gui
|
Vcs-Browser: https://github.com/jtgans/g13gui
|
||||||
Vcs-Git: https://github.com/jtgans/g13gui.git
|
Vcs-Git: https://github.com/jtgans/g13gui.git
|
||||||
|
|
||||||
Package: g13
|
Package: g13gui
|
||||||
Architecture: all
|
Architecture: all
|
||||||
Depends: ${misc:Depends},
|
Depends: ${misc:Depends},
|
||||||
${python3:Depends},
|
${python3:Depends},
|
||||||
|
2
debian/copyright
vendored
2
debian/copyright
vendored
@ -1,5 +1,5 @@
|
|||||||
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
||||||
Upstream-Name: g13
|
Upstream-Name: g13gui
|
||||||
Upstream-Contact: June Tate-Gans <june@theonelab.com>
|
Upstream-Contact: June Tate-Gans <june@theonelab.com>
|
||||||
Upstream-Source: https://github.com/jtgans/g13gui
|
Upstream-Source: https://github.com/jtgans/g13gui
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user