From d59a1ea6fd3e7fb603cd28308e12ed238cd1524e Mon Sep 17 00:00:00 2001 From: Leah Neukirchen Date: Thu, 14 Jun 2018 16:06:47 +0200 Subject: [PATCH] libhangul: fix build. --- srcpkgs/libhangul/template | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/srcpkgs/libhangul/template b/srcpkgs/libhangul/template index ccb57915dde..5e786e300a7 100644 --- a/srcpkgs/libhangul/template +++ b/srcpkgs/libhangul/template @@ -1,8 +1,9 @@ # Template file for 'libhangul' pkgname=libhangul version=0.1.0 -revision=2 +revision=3 build_style=gnu-configure +hostmakedepends="automake gettext-devel libtool" configure_args="--disable-static" short_desc="A library to support hangul input and character classification" maintainer="Matthew Wynn " @@ -12,6 +13,14 @@ distfiles="https://github.com/libhangul/libhangul/archive/libhangul-${version}.t checksum=e2a81ef159ed098d3cc1a20377dba6204821b7ce2bc24cfb2f2543adf3bc5830 wrksrc="$pkgname-$pkgname-$version" +post_extract() { + sed -i '/AM_GNU_GETTEXT_VERSION/s/0.18/0.19/' configure.ac +} + +pre_configure() { + ./autogen.sh +} + libhangul-devel_package() { depends="libhangul-${version}_${revision}" short_desc+=" - development files"