summaryrefslogtreecommitdiff
path: root/icu/Pkgfile
blob: 6cfaed55e8dc0ac1b049d9976122beb3398ee13f (plain)
    1 # Description: Widely used set of C/C++ libraries providing Unicode and Globalization support.
    2 # URL: http://www.icu-project.org/
    3 # Maintainer: Danny Rawlins, crux at romster dot me
    4 
    5 name=icu
    6 version=65.1
    7 release=1
    8 source=(https://github.com/unicode-org/icu/releases/download/release-${version//./-}/icu4c-${version/./_}-src.tgz
    9 	icu-65.1-initialized-buffer-uloc_getKeywordValue.patch)
   10 
   11 build() {
   12 	cd icu/source
   13 
   14 	# https://unicode-org.atlassian.net/browse/ICU-20884
   15 	patch -p2 -d .. -i $SRC/icu-65.1-initialized-buffer-uloc_getKeywordValue.patch
   16 
   17 	# icu tries to use clang by default
   18 	[ "$CC" ] || export CC=gcc
   19 	[ "$CXX" ] || export CXX=g++
   20 
   21 	./configure \
   22 		--prefix=/usr \
   23 		--mandir=/usr/share/man \
   24 		--disable-samples \
   25 		--disable-tests
   26 
   27 	make
   28 	make -j1 DESTDIR=$PKG install
   29 }

Generated by cgit