summaryrefslogtreecommitdiffstats
path: root/abs/core/intltool/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/intltool/PKGBUILD')
-rw-r--r--abs/core/intltool/PKGBUILD36
1 files changed, 22 insertions, 14 deletions
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"
}