1 # Contributor: Eric BĂ©langer <eric@archlinux.org>
6 pkgdesc="A commandline option parser"
8 url="https://github.com/rpm-software-management/popt"
11 options=('staticlibs')
12 source=(https://ftp.osuosl.org/pub/rpm/popt/releases/popt-1.x/popt-${pkgver}.tar.gz)
13 sha256sums=('c25a4838fc8e4c1c8aacb8bd620edb3084a3d63bf8987fdad3ca2758c63240f9')
16 cd "${pkgname}-${pkgver}"
17 # Avoid stripping issue
18 CFLAGS+=" -ffat-lto-objects" ./configure --prefix=/usr
23 cd "${pkgname}-${pkgver}"
24 make DESTDIR="${pkgdir}" install
25 install -Dm644 COPYING "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE