forked from autokey/autokey
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.sh
More file actions
executable file
·26 lines (18 loc) · 764 Bytes
/
Copy pathbuild.sh
File metadata and controls
executable file
·26 lines (18 loc) · 764 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/bin/sh
[ -f debian/build_requirements.txt ] && \
cat debian/build_requirements.txt | xargs sudo apt install -y
# create Gnome Shell extension pack
cd 'autokey-gnome-extension/46'
zip "../autokey-gnome-extension@autokey.shell-extension.zip" *
cd ../..
VERSION=$(git describe --tags --abbrev=0 --match "v*.*.*")
# Strip leading 'v' because that is invalid as a debian version number
DEBVERSION="${VERSION#?}"
export DEBEMAIL='guociz@gmail.com'
uscan -dd
# Create fake changelog entry just to get the correct version number on the deb
#dch --newversion "$DEBVERSION" ""
dpkg-buildpackage -i --build=binary --unsigned-source
# # Update PPA. Requires more in-depth packaging.
# debuild -i -S
# dput "$PPA_Identifier" ../autokey_${VERSION}-1_source.changes