From 19455f522f7f7101cfd13a625c46adec21ee86eb Mon Sep 17 00:00:00 2001 From: lukasepple Date: Sat, 6 Dec 2014 12:28:49 +0100 Subject: [PATCH] loudmouth: cleanup and optimazations as suggested by @xtraeme --- srcpkgs/loudmouth/template | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/srcpkgs/loudmouth/template b/srcpkgs/loudmouth/template index b5352e7ff6..cf651d4608 100644 --- a/srcpkgs/loudmouth/template +++ b/srcpkgs/loudmouth/template @@ -1,30 +1,25 @@ # template file for 'loudmouth' pkgname="loudmouth" -_majorver="1.4" -version="${_majorver}.3" +version="1.4.3" revision=1 build_style=gnu-configure short_desc="A lightweight Jabber client library written in C/Glib" maintainer="Lukas Epple " -license="LGPL" +license="LGPL-2" homepage="https://groups.google.com/forum/#!forum/loudmouth-dev" -distfiles="http://ftp.gnome.org/pub/gnome/sources/loudmouth/${_majorver}/loudmouth-${version}.tar.bz2" +distfiles="$GNOME_SITE/loudmouth/${version%.*}/loudmouth-${version}.tar.bz2" checksum="95a93f5d009b71ea8193d994aa11f311bc330a3efe1b7cd74dc48f11c7f929e3" -depends="glib gnutls libidn" makedepends="gnutls-devel" -hostmakedepends="pkg-config autoconf automake libtool gnutls-tools glib-devel gtk-doc gnutls" +hostmakedepends="pkg-config automake libtool gnutls-tools glib-devel gtk-doc" pre_configure() { - libtoolize --force - aclocal - autoconf - automake --add-missing + autoreconf -fi } loudmouth-devel_package() { - depends+="loudmouth-libs>=${version}_${revision}" + depends+="loudmouth>=${version}_${revision}" short_desc+=" - development files" pkg_install() { vmove "usr/include"