From b73ccbb6213110a20ce7b7faef1ffaf3c8cc1742 Mon Sep 17 00:00:00 2001
From: James Meyer <james.meyer@operamail.com>
Date: Mon, 6 Aug 2012 21:44:24 -0500
Subject: intltool .50.2

---
 abs/core/intltool/ChangeLog | 38 --------------------------------------
 abs/core/intltool/PKGBUILD  | 36 ++++++++++++++++++++++--------------
 2 files changed, 22 insertions(+), 52 deletions(-)
 delete mode 100644 abs/core/intltool/ChangeLog

diff --git a/abs/core/intltool/ChangeLog b/abs/core/intltool/ChangeLog
deleted file mode 100644
index 4419f0f..0000000
--- a/abs/core/intltool/ChangeLog
+++ /dev/null
@@ -1,38 +0,0 @@
-2009-03-15  Eric Belanger  <eric@archlinux.org>
-
-	* intltool 0.40.6-1
-	* Upstream update
-
-2009-02-07  Eric Belanger  <eric@archlinux.org>
-
-	* Added I18N-HOWTO doc (close FS#12889)
-
-2008-11-28  Jan de Groot  <jgc@archlinux.org>
-
-	* intltool 0.40.5-1
-	* Upstream update
-
-2008-09-25  Jan de Groot  <jgc@archlinux.org>
-
-	* intltool 0.40.4-1
-	* Upstream update
-
-2008-07-28  Eric Belanger  <eric@archlinux.org>
-
-	* intltool 0.40.3-1
-	* Upstream update
-
-2008-07-23  Eric Belanger  <eric@archlinux.org>
-
-	* intltool 0.40.1-1
-	* Upstream update
-
-2008-06-08  Eric Belanger  <eric@archlinux.org>
-
-	* intltool 0.40.0-1
-	* Upstream update
-
-2008-03-01  Eric Belanger  <eric@archlinux.org>
-
-	* intltool 0.37.1-1
-	* Upstream update
diff --git a/abs/core/intltool/PKGBUILD b/abs/core/intltool/PKGBUILD
index d367e29..44ff833 100644
--- a/abs/core/intltool/PKGBUILD
+++ b/abs/core/intltool/PKGBUILD
@@ -1,23 +1,31 @@
-# $Id: PKGBUILD 30076 2009-03-16 03:02:39Z eric $
-# Maintainer: Eric Belanger <eric@archlinux.org>
-# Contributor: Jan de Groot <jgc@archlinux.org>
+# $Id: PKGBUILD 155385 2012-04-03 01:23:12Z eric $
+# Maintainer: Eric Bélanger <eric@archlinux.org>
 
 pkgname=intltool
-pkgver=0.40.6
+pkgver=0.50.2
 pkgrel=1
 pkgdesc="The internationalization tool collection"
-arch=('i686' 'x86_64')
-url="http://freedesktop.org/wiki/Software/intltool"
+arch=('any')
+url="https://edge.launchpad.net/intltool"
 license=('GPL')
-depends=('perlxml')
-source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.bz2)
-md5sums=('69bc0353323112f42ad4f9cf351bc3e5')
-sha1sums=('4f6469e09e2c06a8072dffff36f84ff401d7ea75')
+depends=('perl-xml-parser')
+source=(http://edge.launchpad.net/intltool/trunk/${pkgver}/+download/${pkgname}-${pkgver}.tar.gz{,.asc})
+sha1sums=('7fddbd8e1bf94adbf1bc947cbf3b8ddc2453f8ad'
+          '85c71e9651df41fc330c5f171fdfe1bf11e44f65')
 
 build() {
   cd "${srcdir}/${pkgname}-${pkgver}"
-  ./configure --prefix=/usr || return 1
-  make || return 1
-  make DESTDIR="${pkgdir}" install || return 1
-  install -D -m644 doc/I18N-HOWTO ${pkgdir}/usr/share/doc/${pkgname}/I18N-HOWTO || return 1
+  ./configure --prefix=/usr
+  make
+}
+
+check() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  make check
+}
+
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  make DESTDIR="${pkgdir}" install
+  install -D -m644 doc/I18N-HOWTO "${pkgdir}/usr/share/doc/${pkgname}/I18N-HOWTO"
 }
-- 
cgit v0.12

