#!/usr/bin/env bash name='gettext' release='3' version='0.24.1' url='https://gnu.org/software/gettext' description='GNU locale utilities' email='kurth4cker@tutanota.com' maintainer='kurth4cker' license=('GPLv3') source=("https://ftp.gnu.org/gnu/gettext/gettext-${version}.tar.xz") depends=(libunistring) makedepends=( ) sha256sums=('6164ec7aa61653ac9cdfb41d5c2344563b21f707da1562712e48715f1d2052a6') group=(sys.devel) uses=(bzip2 lzma) bzip2_depends=(bzip2) lzma_depends=(xz-utils) arch=('x86_64') cd $name-$version prepare(){ echo "#!/bin/sh" > ~/makeinfo chmod 755 ~/makeinfo } setup(){ ./configure --prefix=/usr \ --libdir=/lib64 \ --enable-shared \ --enable-static \ --disable-java \ --without-emacs \ --without-cvs \ --without-included-regex \ --without-included-libxml \ --without-git \ $(use_opt bzip2 --with-bzip2 --without-bzip2) \ $(use_opt lzma --with-xz --without-xz) } build(){ make $jobs } package(){ make install $jobs }