pkgname=popt pkgver=1.19 pkgrel=1 pkgdesc="A commandline option parser" arch=('x86_64') url="https://github.com/rpm-software-management/popt" license=('custom') depends=('glibc') source=(http://ftp.rpm.org/popt/releases/popt-1.x/${pkgname}-${pkgver}.tar.gz) sha256sums=(c25a4838fc8e4c1c8aacb8bd620edb3084a3d63bf8987fdad3ca2758c63240f9) build() { cd ${pkgname}-${pkgver} CFLAGS+=" -ffat-lto-objects" local configure_args=( --disable-static ${configure_options} ) ./configure ${configure_args[@]} make } package() { cd ${pkgname}-${pkgver} make DESTDIR=${pkgdir} install }