mirror of
https://github.com/yuezk/GlobalProtect-openconnect.git
synced 2025-04-29 22:26:26 -04:00
Fix deb
This commit is contained in:
parent
d1ec358b8a
commit
3d3d7038db
22
Makefile
22
Makefile
@ -118,28 +118,22 @@ init-debian: clean-debian tarball
|
|||||||
cp .build/tarball/${PKG}.tar.gz .build/deb
|
cp .build/tarball/${PKG}.tar.gz .build/deb
|
||||||
|
|
||||||
tar -xzf .build/deb/${PKG}.tar.gz -C .build/deb
|
tar -xzf .build/deb/${PKG}.tar.gz -C .build/deb
|
||||||
cd .build/deb/${PKG}
|
cd .build/deb/${PKG} && debmake
|
||||||
|
|
||||||
debmake
|
cp -f packaging/deb/control.in .build/deb/$(PKG)/debian/control
|
||||||
|
cp -f packaging/deb/rules .build/deb/$(PKG)/debian/rules
|
||||||
|
|
||||||
cp -f packaging/deb/control.in debian/control
|
sed -i "s/@OFFLINE@/$(OFFLINE)/g" .build/deb/$(PKG)/debian/rules
|
||||||
cp -f packaging/deb/rules debian/rules
|
|
||||||
|
|
||||||
sed -i "s/@OFFLINE@/$(OFFLINE)/g" debian/rules
|
rm -f .build/deb/$(PKG)/debian/changelog
|
||||||
|
|
||||||
rm -f debian/changelog
|
|
||||||
|
|
||||||
deb: init-debian
|
deb: init-debian
|
||||||
cd .build/deb/${PKG}
|
|
||||||
|
|
||||||
# Remove the rust build depdency from the control file
|
# Remove the rust build depdency from the control file
|
||||||
sed -i "s/@RUST@//g" debian/control
|
sed -i "s/@RUST@//g" .build/deb/$(PKG)/debian/control
|
||||||
|
|
||||||
dch --create --distribution unstable --package $(PKG_NAME) --newversion $(VERSION)-$(REVISION) "Bugfix and improvements."
|
cd .build/deb/$(PKG) && dch --create --distribution unstable --package $(PKG_NAME) --newversion $(VERSION)-$(REVISION) "Bugfix and improvements."
|
||||||
|
|
||||||
printenv
|
cd .build/deb/$(PKG) && debuild --preserve-env -e PATH -us -uc -b
|
||||||
|
|
||||||
debuild -e PATH -us -uc -b
|
|
||||||
|
|
||||||
check-ppa:
|
check-ppa:
|
||||||
if [ $(OFFLINE) -eq 0 ]; then \
|
if [ $(OFFLINE) -eq 0 ]; then \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user