~kst-plot/kst/debian-xenial

« back to all changes in this revision

Viewing changes to misc/linux-release.sh

  • Committer: Steven Benton
  • Date: 2012-11-04 22:45:35 UTC
  • mfrom: (1.2.10)
  • Revision ID: stevebenton@rogers.com-20121104224535-mnnvrp4mhvuz0h2p
* New upstream release.
* Non-maintainer upload.
* Remove patches that have been resolved upstream:
  - desktop-entry-contains-encoding-key.diff
  - desktop-entry-lacks-main-category.diff
    - upstream uses Education category rather than Graphics
  - fix-qreal-vs-double-for-arm.diff
* kst package Replaces and Conflicts with kst2 -- for old PPA users only

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/bin/sh
2
 
 
3
 
# Usage
4
 
#   linux-release <package name> optional: <existing sourceforge dir>  <sourceforge username> <skip-build>
5
 
# e.g:
6
 
#   build  only     : linux-release.sh Kst-2.0.3-beta2 
7
 
#   build and upload: linux-release.sh Kst-2.0.3-beta2 "Kst\\ 2.0.3" username
8
 
#   upload only     : linux-release.sh Kst-2.0.3-beta2 "Kst\\ 2.0.3" username skip
9
 
#   
10
 
 
11
 
kst_install_prefix=$1
12
 
 
13
 
if [ -z ${4} ]
14
 
then
15
 
        cmake ../kst/cmake -Dkst_release=1 -Dkst_merge_files=1 -Dkst_install_prefix=$kst_install_prefix
16
 
        make -j4
17
 
        make install
18
 
        make package
19
 
        make package_source
20
 
fi
21
 
 
22
 
 
23
 
if [ ! -z ${3} ]
24
 
then
25
 
        # spaces in $2 "Kst\\ 2.0.3"
26
 
        scp \
27
 
        ${kst_install_prefix}-binary.sh \
28
 
        ${kst_install_prefix}.tar.gz \
29
 
        ${kst_install_prefix}.tar.bz2 \
30
 
        ${3},kst@frs.sourceforge.net:"/home/frs/project/k/ks/kst/${2}"
31
 
fi