git » intltool.git » main » tree

[main] / PKGBUILD

pkgname=intltool
pkgver=0.51.0
pkgrel=1
arch=('armv7h' 'aarch64')
license=('unknown')
source=("$pkgname-$pkgver.tar.gz")

prepare() {
	cd "$pkgname-$pkgver"
	sed -i 's:\\\${:\\\$\\{:' intltool-update.in
}

build() {
	cd "$pkgname-$pkgver"
	./configure --prefix=/usr
	make
}

package() {
	cd "$pkgname-$pkgver"
	make DESTDIR="$pkgdir/" install
	mkdir -p "$pkgdir"/usr/share/doc/intltool-$pkgver
	install -v -Dm644 doc/I18N-HOWTO "$pkgdir"/usr/share/doc/intltool-$pkgver/I18N-HOWTO
}
sha256sums=('67c74d94196b153b774ab9f89b2fa6c6ba79352407037c8c14d5aeb334e959cd')