aboutsummaryrefslogtreecommitdiffstats
path: root/main/intltool/APKBUILD
blob: 1595bb5a49e12506bdb2cd6ea0112d240275922f (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
32
33
34
35
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=intltool
pkgver=0.51.0
pkgrel=4
pkgdesc="The internationalization tool collection"
url="http://freedesktop.org/wiki/Software/intltool"
arch="noarch"
license="GPL-2.0"
depends="perl perl-xml-parser gettext file"
subpackages="$pkgname-doc"
source="https://edge.launchpad.net/intltool/trunk/$pkgver/+download/$pkgname-$pkgver.tar.gz
	intltool-perl-regexp.patch"
builddir="$srcdir/$pkgname-$pkgver"

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

check() {
	cd "$builddir"
	make check
}

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

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