aboutsummaryrefslogtreecommitdiffstats
path: root/main/intltool/APKBUILD
blob: 50ba6a5ab6743ca036d3a06034694d8863f4ce6b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=intltool
pkgver=0.50.2
pkgrel=0
pkgdesc="The internationalization tool collection"
url="http://freedesktop.org/wiki/Software/intltool"
arch="noarch"
license="GPL"
depends="perl perl-xml-parser gettext"
subpackages="$pkgname-doc"
source="http://edge.launchpad.net/intltool/trunk/${pkgver}/+download/${pkgname}-${pkgver}.tar.gz"

build () {
	cd "$srcdir"/$pkgname-$pkgver
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		|| return 1
	make || return 1
}

package() {
	cd "$srcdir"/$pkgname-$pkgver
	make DESTDIR="$pkgdir" install || return 1
}
md5sums="23fbd879118253cb99aeac067da5f591  intltool-0.50.2.tar.gz"