[arch-commits] Commit in telepathy-farstream/trunk (PKGBUILD)
Jan Steffens
heftig at archlinux.org
Thu Jan 26 20:44:18 UTC 2017
Date: Thursday, January 26, 2017 @ 20:44:15
Author: heftig
Revision: 287537
0.6.2-3
Modified:
telepathy-farstream/trunk/PKGBUILD
----------+
PKGBUILD | 38 ++++++++++++++++++++++++--------------
1 file changed, 24 insertions(+), 14 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-01-26 20:43:05 UTC (rev 287536)
+++ PKGBUILD 2017-01-26 20:44:15 UTC (rev 287537)
@@ -1,32 +1,42 @@
# $Id$
-# Maintainer: Ionut Biru <ibiru at archlinux.org>
+# Contributor: Ionut Biru <ibiru at archlinux.org>
pkgname=telepathy-farstream
pkgver=0.6.2
-pkgrel=2
-pkgdesc="A telepathy-backend to use stream engine."
+pkgrel=3
+pkgdesc="Telepathy GLib-based client library that uses Farstream to handle Call channels"
arch=(i686 x86_64)
-url="http://telepathy.freedesktop.org"
-license=('LGPL2.1')
-depends=('telepathy-glib' 'farstream')
-makedepends=('dbus-glib' 'gobject-introspection' 'python2')
-conflicts=('telepathy-farsight')
-replaces=('telepathy-farsight')
-source=(http://telepathy.freedesktop.org/releases/$pkgname/$pkgname-$pkgver.tar.gz)
-md5sums=('20bdc61ea3f3a01df41068006b62641b')
+url="https://telepathy.freedesktop.org/components/telepathy-farstream/"
+license=(LGPL2.1)
+depends=(telepathy-glib farstream)
+makedepends=(dbus-glib gobject-introspection python2 gtk-doc git glib2-docs)
+replaces=(telepathy-farsight)
+_commit=0b1bba79cfe94e7676fe69e9e0d2e3983a3c14c5 # tags/telepathy-farstream-0.6.2^0
+source=("git+https://github.com/TelepathyIM/telepathy-farstream#commit=$_commit")
+sha256sums=('SKIP')
+pkgver() {
+ cd $pkgname
+ git describe --tags | sed 's/^telepathy-farstream-//;s/-/+/g'
+}
+
+prepare() {
+ cd $pkgname
+ NOCONFIGURE=1 ./autogen.sh
+}
+
build() {
- cd "$pkgname-$pkgver"
-
+ cd "$pkgname"
./configure --prefix=/usr \
--sysconfdir=/etc \
--libexecdir=/usr/lib/telepathy \
--disable-static
+ sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
}
package() {
- cd "$pkgname-$pkgver"
+ cd "$pkgname"
make DESTDIR="$pkgdir" install
}
More information about the arch-commits
mailing list