summaryrefslogtreecommitdiffstats
path: root/main/intltool/APKBUILD
blob: addfe24684ea4ccab9c08a33c8a9ee960528aecd (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
28
29
30
31
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=intltool
pkgver=0.50.2
pkgrel=1
pkgdesc="The internationalization tool collection"
url="http://freedesktop.org/wiki/Software/intltool"
arch="noarch"
license="GPL2"
depends="perl perl-xml-parser gettext"
subpackages="$pkgname-doc"
source="http://edge.launchpad.net/intltool/trunk/${pkgver}/+download/${pkgname}-${pkgver}.tar.gz"

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

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install || return 1
}

md5sums="23fbd879118253cb99aeac067da5f591  intltool-0.50.2.tar.gz"
sha256sums="67f25c5c6fb71d095793a7f895b245e65e829e8bde68c6c8b4c912144ff34406  intltool-0.50.2.tar.gz"
sha512sums="9f7f0746e77a1a6765b49e16f65438103bc031f3fa8cac42c061deade4291703b95aa336eba2500c8f05d19e35620cf01a120c71a7b6816c1bfecbb9fd747b11  intltool-0.50.2.tar.gz"