iglunix/gui/icu/build.sh

35 lines
532 B
Bash
Raw Normal View History

2021-06-15 19:38:28 +00:00
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
}