aboutsummaryrefslogtreecommitdiffstats
path: root/main/intltool/APKBUILD
blob: 6179e3e6d822436ec30c72cb2088c01d628bdc35 (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.51.0
pkgrel=2
pkgdesc="The internationalization tool collection"
url="http://freedesktop.org/wiki/Software/intltool"
arch="noarch"
license="GPL2"
depends="perl perl-xml-parser gettext file"
subpackages="$pkgname-doc"
source="http://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 \
		|| return 1
	make || return 1
}

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

sha512sums="4c93cb26592ed0b1622d3b7800b5d6622ffa36f58ac73f2ef0bddfab522565fdfb8fa73d81914b9a202f1d62bc995a08960f8adb9f62c86918e75498e85fbfdf  intltool-0.51.0.tar.gz
297a9ed5e97e3f116332a9193d254598d541c7f931b91229b788ca66e9bfc109c2badcc75e5e8d45464c086bab9ffeddb564291ef34cd35b505b354b9e834aa7  intltool-perl-regexp.patch"