Permalink
Browse files

[telepathy-indicator] Update to version 0.3.1daily13.03.01

  • Loading branch information...
1 parent 378f4df commit 978088e8e335875d85aa7e77ccbf833ce79a0651 @chenxiaolong committed Mar 5, 2013
Showing with 25 additions and 16 deletions.
  1. +11 −0 telepathy-indicator/0001_autoconf.patch
  2. +13 −15 telepathy-indicator/PKGBUILD
  3. +1 −1 telepathy-indicator/compare_versions.sh
@@ -0,0 +1,11 @@
+--- a/configure.ac
++++ b/configure.ac
+@@ -3,7 +3,7 @@
+ AC_INIT([telepathy-indicator], [0.3.0], [ken.vandine@canonical.com])
+ AC_COPYRIGHT([Copyright 2011 Canonical])
+
+-AM_CONFIG_HEADER(config.h)
++AC_CONFIG_HEADERS(config.h)
+ AM_INIT_AUTOMAKE([1.9])
+
+ AM_MAINTAINER_MODE
@@ -1,9 +1,9 @@
# Maintainer: Xiao-Long Chen <chenxiaolong@cxl.epac.to>
pkgname=telepathy-indicator
-_ubuntu_rel=0ubuntu3
-_actual_ver=0.3.0
-pkgver=${_actual_ver}.${_ubuntu_rel}
+_actual_ver=0.3.1
+_extra_ver=daily13.03.01
+pkgver=${_actual_ver}
pkgrel=100
pkgdesc="Telepathy integration with the messaging menu"
arch=('i686' 'x86_64')
@@ -12,26 +12,24 @@ license=('GPL3')
groups=('unity-extra')
depends=('indicator-messages' 'libunity' 'telepathy-glib')
makedepends=('intltool')
-source=("https://launchpad.net/telepathy-indicator/trunk/${_actual_ver}/+download/telepathy-indicator-${_actual_ver}.tar.gz"
- "https://launchpad.net/ubuntu/+archive/primary/+files/telepathy-indicator_${_actual_ver}-${_ubuntu_rel}.debian.tar.gz")
-sha512sums=('ada7cf5744fc6c16aed1b4836349f8c1aee5a215444b75c1a0a3d8e7b2d3c0e7ca91d0953dbb3bf66321cfdee63414f5c6217d3adeeb585793c27271cae2d06a'
- 'd011318935bcfb15f34cc8bfa5d54d54435ac3e543683a07f659fa9eaee023330f1b0fcbf5ea568afed3fcd67c5e11ea99eae776e6ea59385fbe6fe6b4675ea0')
+source=("https://launchpad.net/ubuntu/+archive/primary/+files/telepathy-indicator_${_actual_ver}${_extra_ver}.orig.tar.gz"
+ '0001_autoconf.patch')
+sha512sums=('1eddd78d53071e263dd5a23ad88fd45ded06dc6e4430717fe230893b6a62eb2fc776abdec7ebee233dc45d672275535ad60280797b76ce32f0ea3d6b19912f6e'
+ 'fc3e1b6ae12e6978eae42459e92f40833f6e9a7aa841b7de2b41c8772283aa7cb7f3c2856b0501cd44a1b8cf6b0d4b5f11adfa679b088b70f4ad1cd2e7b4df6c')
build() {
- cd "${srcdir}/${pkgname}-${_actual_ver}"
-
- # Apply Ubuntu patches
- for i in $(grep -v '#' "${srcdir}/debian/patches/series"); do
- patch -Np1 -i "${srcdir}/debian/patches/${i}"
- done
+ cd "${srcdir}/${pkgname}-${_actual_ver}${_extra_ver}"
+ patch -p1 -i "${srcdir}/0001_autoconf.patch"
+ autoreconf -vfi
+ intltoolize -f
./configure --prefix=/usr --sysconfdir=/etc
- make ${MAKEFLAGS}
+ make
}
package() {
- cd "${srcdir}/${pkgname}-${_actual_ver}"
+ cd "${srcdir}/${pkgname}-${_actual_ver}${_extra_ver}"
make DESTDIR="${pkgdir}/" install
}
@@ -3,6 +3,6 @@
source "$(dirname ${0})/PKGBUILD"
source "$(dirname ${0})/../version_checker.sh"
-echo -e "spec file version: ${_actual_ver} ${_ubuntu_rel}"
+echo -e "spec file version: ${_actual_ver}${_extra_ver}"
echo -e "Upstream version: $(get_launchpad_version ${pkgname})"
echo -e "Ubuntu version: $(get_ubuntu_version ${pkgname} ${1:-raring})"

0 comments on commit 978088e

Please sign in to comment.