diff options
| author | Christoph Berg <myon@debian.org> | 2026-04-07 19:02:45 +0200 |
|---|---|---|
| committer | Christoph Berg <myon@debian.org> | 2026-04-07 19:02:45 +0200 |
| commit | f647d78463c1250ce9c99af664615fafccf5e959 (patch) | |
| tree | 5b00428cef68aef1c9d407e2d4535687422419b6 /contrib/QDarkStyleSheet/makeppa.sh | |
| parent | 0a13f1fdb9928b6d012569dd65f7f6ef18fac2f8 (diff) | |
New upstream version 3.0.0upstream/3.0.0
Diffstat (limited to 'contrib/QDarkStyleSheet/makeppa.sh')
| -rw-r--r--[-rwxr-xr-x] | contrib/QDarkStyleSheet/makeppa.sh | 92 |
1 files changed, 46 insertions, 46 deletions
diff --git a/contrib/QDarkStyleSheet/makeppa.sh b/contrib/QDarkStyleSheet/makeppa.sh index 0d1c6835..f18547cb 100755..100644 --- a/contrib/QDarkStyleSheet/makeppa.sh +++ b/contrib/QDarkStyleSheet/makeppa.sh @@ -1,46 +1,46 @@ -#! /bin/bash
-# -*- coding: utf-8 -*-
-
-# package info
-ppa="ppa:colin-duquesnoy/stable"
-name="qdarkstyle"
-version="2.0"
-
-# read pgp key from gpg_key file
-gpg_key=`cat gpg_key`
-
-# generate debian source package and .orig.tar.gz
-python3 setup.py --command-packages=stdeb.command sdist_dsc
-
-date=`date -R`
-
-# clean pyc files
-find . -name "*.pyc" -exec rm -rf {} \;
-
-
-for suite in 'trusty' 'utopic' 'vivid'
-do
- # sign our package and prepare it for ppa upload
- pushd deb_dist
- pushd ${name}-${version}
-
- # update changelog to include ubuntu release
- changelog="${name} (${version}-1ppa1~${suite}1) ${suite}; urgency=low
- * Initial release
- -- Colin Duquesnoy <colin.duquesnoy@gmail.com> ${date}
-"
- echo "$changelog" > debian/changelog
- cat debian/changelog
-
- debuild -S -sa -k${gpg_key}
- popd
-
- # upload to ppa
- dput ${ppa} *.changes
- rm -rf *.dsc *.changes
-
- popd
-done
-
-# cleanup
-rm -rf *.tar.gz deb_dist/ dist/
+#! /bin/bash +# -*- coding: utf-8 -*- + +# package info +ppa="ppa:colin-duquesnoy/stable" +name="qdarkstyle" +version="2.0" + +# read pgp key from gpg_key file +gpg_key=`cat gpg_key` + +# generate debian source package and .orig.tar.gz +python3 setup.py --command-packages=stdeb.command sdist_dsc + +date=`date -R` + +# clean pyc files +find . -name "*.pyc" -exec rm -rf {} \; + + +for suite in 'trusty' 'utopic' 'vivid' +do + # sign our package and prepare it for ppa upload + pushd deb_dist + pushd ${name}-${version} + + # update changelog to include ubuntu release + changelog="${name} (${version}-1ppa1~${suite}1) ${suite}; urgency=low + * Initial release + -- Colin Duquesnoy <colin.duquesnoy@gmail.com> ${date} +" + echo "$changelog" > debian/changelog + cat debian/changelog + + debuild -S -sa -k${gpg_key} + popd + + # upload to ppa + dput ${ppa} *.changes + rm -rf *.dsc *.changes + + popd +done + +# cleanup +rm -rf *.tar.gz deb_dist/ dist/ |
