# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=intltool
pkgver=0.51.0
pkgrel=5
pkgdesc="Internationalisation tool collection"
url="https://freedesktop.org/wiki/Software/intltool"
arch="noarch"
license="GPL-2.0+"
depends="file perl perl-xml-parser"
makedepends=""
subpackages="$pkgname-doc"
source="http://edge.launchpad.net/intltool/trunk/$pkgver/+download/$pkgname-$pkgver.tar.gz
	intltool-perl-regexp.patch"

build () {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="4c93cb26592ed0b1622d3b7800b5d6622ffa36f58ac73f2ef0bddfab522565fdfb8fa73d81914b9a202f1d62bc995a08960f8adb9f62c86918e75498e85fbfdf  intltool-0.51.0.tar.gz
119386effcacde4e41250fe527bd868e5f2dea4b46856313126bc664f22a1513980f2ab7dc37317ca4f6be6daa2617127f07477ad312f2ff7bc360120a30627a  intltool-perl-regexp.patch"