You are not logged in.
Hello,
I was trying to install telepathy-glib 0.7.18 by building the package. The arch repositories have the older version of the same but I need this version in order to work with Empathy(http://live.gnome.org/Empathy).
The steps I followed:
1- Copy /var/abs/community/lib/telepathy-glib/ to ~/abs
2- Update the version of the PKGBUILD to 0.7.18
3- makepkg -s [resulted the pkg, src folders and telepathy-glib-0.7.18.tar.gz file]
4- sudo pacman -U telepathy-glib-0.7.18.tar.gz
The result:
[amare@breeze telepathy-glib]$ sudo pacman -U telepathy-glib-0.7.18.tar.gz
loading package data...
error: missing package metadata in telepathy-glib-0.7.18.tar.gz
error: 'telepathy-glib-0.7.18.tar.gz': invalid or corrupted package
This is the first time that I'm trying to build my own package. Am I missing any step?
Thanks in advance for any help:)
The PKGBUILD file:
# $Id: PKGBUILD,v 1.13 2008/06/27 10:39:06 bjorn Exp $
# Maintainer: Bjorn Lindeijer <bjorn lindeijer nl>
pkgname=telepathy-glib
pkgver=[b]0.7.18[/b]
pkgrel=1
pkgdesc="GLib bindings for the Telepathy D-Bus protocol"
arch=('i686' 'x86_64')
url="http://telepathy.freedesktop.org"
groups=('telepathy')
license=('LGPL')
options=('!libtool')
depends=('dbus-glib')
makedepends=('libxslt')
source=(http://telepathy.freedesktop.org/releases/telepathy-glib/$pkgname-$pkgver.tar.gz)
md5sums=()
build() {
cd $startdir/src/$pkgname-$pkgver
./configure --prefix=/usr
make || return 1
make DESTDIR=$startdir/pkg install
}
Cheers,
Jayanath
"There is LIFE beyond the 8x8 cubicle"
Offline
You're trying to install the source tar.gz, you gotta pacman -U *.pkg.tar.gz.
Offline
lucke,
Thanks for your quick reply. I didn't realize that I was trying to install the src pkg.:D Another lesson learnt.
Thanks again.
Cheers,
Jayanath
"There is LIFE beyond the 8x8 cubicle"
Offline