pkgname=libunistring pkgver=1.3 pkgrel=1 pkgdesc="Library for manipulating Unicode strings and C strings" arch=('x86_64') url="https://www.gnu.org/software/libunistring/" license=('LGPL-3.0-or-later') depends=('glibc') source=(https://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.xz) sha256sums=(f245786c831d25150f3dfb4317cda1acc5e3f79a5da4ad073ddca58886569527) build() { cd ${pkgname}-${pkgver} local configure_args=( --disable-static --docdir=/usr/share/doc/${pkgname}-${pkgver} ${configure_options} ) ./configure ${configure_args[@]} make } package() { cd ${pkgname}-${pkgver} make DESTDIR=${pkgdir} install }