addeed icu

This commit is contained in:
Ella-0 2021-06-15 20:38:28 +01:00
parent cb3360340b
commit 02db0b15a6

34
pkgs/icu/build.sh Normal file
View file

@ -0,0 +1,34 @@
pkgname=icu
pkgver=69.1
_pkg_ver=$(echo $pkgver | tr '.' '_')
fetch() {
curl -L "https://github.com/unicode-org/icu/releases/download/release-69-1/icu4c-$_pkg_ver-src.tgz" -o $pkgname-$pkgver.tar.xz
tar -xf $pkgname-$pkgver.tar.xz
mv $pkgname $pkgname-$pkgver
}
build() {
cd $pkgname-$pkgver
cd source
./configure \
--prefix=/usr \
--build=$TRIPLE \
--host=$TRIPLE
gmake
}
package() {
cd $pkgname-$pkgver
cd source
gmake install DESTDIR=$pkgdir
}
license() {
cd $pkgname-$pkgver
cat LICENSE
# cat COPYING
}