1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
2 # Contributor: Michael Lass <bevan@bi-co.net>
3 # Contributor: jospehgbr <rafael.f.f1@gmail.com>
4 # Contributor: coderoar <coderoar@gmail.com>
5 # Contributor: webjdm <web.jdm@gmail.com>
8 pkgname=lib32-${_pkgbase}
11 pkgdesc="Commandline option parser (32 bit)"
15 depends=('lib32-glibc' "${_pkgbase}")
16 source=(https://ftp.osuosl.org/pub/rpm/popt/releases/popt-1.x/popt-${pkgver}.tar.gz)
17 sha256sums=('c25a4838fc8e4c1c8aacb8bd620edb3084a3d63bf8987fdad3ca2758c63240f9')
22 cd ${_pkgbase}-${pkgver}
23 ./configure --prefix=/usr --libdir=/usr/lib32 --disable-nls
28 cd ${_pkgbase}-${pkgver}
29 make DESTDIR="${pkgdir}" pkgconfigdir='/usr/lib32/pkgconfig' install
31 rm -rf "${pkgdir}"/usr/{include,share}
32 install -dm755 "${pkgdir}"/usr/share/licenses
33 ln -s ${_pkgbase} "${pkgdir}"/usr/share/licenses/${pkgname}