Skip to content

Commit 0851b75

Browse files
committed
Update build scripts for 0.6
1 parent eebf264 commit 0851b75

File tree

9 files changed

+26
-14
lines changed

9 files changed

+26
-14
lines changed

Makefile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
APP=pybitmessage
2-
VERSION=0.4.4
2+
APPDIR=`basename "\`pwd\`"`
3+
VERSION=0.6.0
34
RELEASE=1
45
ARCH_TYPE=`uname -m`
56
PREFIX?=/usr/local
@@ -8,7 +9,7 @@ LIBDIR=lib
89
all:
910
debug:
1011
source:
11-
tar -cvf ../${APP}_${VERSION}.orig.tar ../${APP}-${VERSION} --exclude-vcs
12+
tar -cvf ../${APP}_${VERSION}.orig.tar ../${APPDIR} --exclude-vcs
1213
gzip -f9n ../${APP}_${VERSION}.orig.tar
1314
install:
1415
mkdir -p ${DESTDIR}/usr
@@ -57,5 +58,5 @@ clean:
5758
rm -f puppypackage/*.gz puppypackage/*.pet slackpackage/*.txz
5859

5960
sourcedeb:
60-
tar -cvf ../${APP}_${VERSION}.orig.tar ../${APP}-${VERSION} --exclude-vcs --exclude 'debian'
61+
tar -cvf ../${APP}_${VERSION}.orig.tar ../${APPDIR} --exclude-vcs --exclude 'debian'
6162
gzip -f9n ../${APP}_${VERSION}.orig.tar

arch.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
APP=pybitmessage
44
PREV_VERSION=0.4.4
5-
VERSION=0.4.4
5+
VERSION=0.6.0
66
RELEASE=1
77
ARCH_TYPE=any
88
CURRDIR=`pwd`

archpackage/PKGBUILD

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Maintainer: Bob Mottram (4096 bits) <bob@robotics.uk.to>
22
pkgname=pybitmessage
3-
pkgver=0.4.4
3+
pkgver=0.6.0
44
pkgrel=1
55
pkgdesc="Bitmessage is a P2P communications protocol used to send encrypted messages to another person or to many subscribers. It is decentralized and trustless, meaning that you need-not inherently trust any entities like root certificate authorities. It uses strong authentication which means that the sender of a message cannot be spoofed, and it aims to hide "non-content" data, like the sender and receiver of messages, from passive eavesdroppers like those running warrantless wiretapping programs."
66
arch=('any')

debian.sh

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
#!/bin/bash
22

33
APP=pybitmessage
4-
PREV_VERSION=0.4.2
5-
VERSION=0.4.4
4+
PREV_VERSION=0.4.4
5+
VERSION=0.6.0
66
RELEASE=1
77
ARCH_TYPE=all
88
DIR=${APP}-${VERSION}
9+
CURDIR=`pwd`
10+
SHORTDIR=`basename ${CURDIR}`
911

1012
if [ $ARCH_TYPE == "x86_64" ]; then
1113
ARCH_TYPE="amd64"
@@ -30,17 +32,17 @@ make clean
3032
make
3133

3234
# Change the parent directory name to Debian format
33-
mv ../${APP} ../${DIR}
35+
mv ../${SHORTDIR} ../${DIR}
3436

3537
# Create a source archive
3638
make sourcedeb
3739

3840
# Build the package
39-
dpkg-buildpackage -F
41+
dpkg-buildpackage -F -us -uc
4042

4143
# Sign files
4244
gpg -ba ../${APP}_${VERSION}-1_${ARCH_TYPE}.deb
4345
gpg -ba ../${APP}_${VERSION}.orig.tar.gz
4446

4547
# Restore the parent directory name
46-
mv ../${DIR} ../${APP}
48+
mv ../${DIR} ../${SHORTDIR}

debian/changelog

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
pybitmessage (0.6.0-1) trusty; urgency=low
2+
3+
* Bugfixes
4+
* UI improvements
5+
* performance and security improvements
6+
* integration with email gateway (mailchuck.com)
7+
8+
-- Peter Surda <dev@mailchuck.com> Mon, 2 May 2016 16:25:00 +0200
9+
110
pybitmessage (0.4.4-1) utopic; urgency=low
211

312
* Added ability to limit network transfer rate

ebuild.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
APP=pybitmessage
44
PREV_VERSION=0.4.4
5-
VERSION=0.4.4
5+
VERSION=0.6.0
66
RELEASE=1
77
SOURCEDIR=.
88
ARCH_TYPE=`uname -m`

puppy.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
APP=pybitmessage
44
PREV_VERSION=0.4.4
5-
VERSION=0.4.4
5+
VERSION=0.6.0
66
RELEASE=1
77
BUILDDIR=~/petbuild
88
CURRDIR=`pwd`

rpmpackage/pybitmessage.spec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Name: pybitmessage
2-
Version: 0.4.4
2+
Version: 0.6.0
33
Release: 1%{?dist}
44
Summary: Send encrypted messages
55
License: MIT

slack.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
APP=pybitmessage
44
PREV_VERSION=0.4.4
5-
VERSION=0.4.4
5+
VERSION=0.6.0
66
RELEASE=1
77
ARCH_TYPE=`uname -m`
88
BUILDDIR=~/slackbuild

0 commit comments

Comments
 (0)