#!/usr/bin/bash # JOBoRun : Jwm OpenBox Obarun RUNit # Maintainer : Joe Bo Run # PkgSource : url="https://git.disroot.org/joborun-pkg/jobcore/src/branch/main/$pkgname" # Website : https://pozol.eu #-----------------------------------------| DESCRIPTION |--------------------------------------- pkgname=popt pkgver=1.19 pkgrel=02 pkgdesc="A commandline option parser" url="https://github.com/rpm-software-management/popt" depends=('glibc') #options=('staticlibs' 'debug') options=(staticlibs) source=(https://ftp.osuosl.org/pub/rpm/popt/releases/popt-1.x/popt-${pkgver}.tar.gz) build() { cd "${pkgname}-${pkgver}" # Avoid stripping issue CFLAGS+=" -ffat-lto-objects" ./configure --prefix=/usr make } package() { cd "${pkgname}-${pkgver}" make DESTDIR="${pkgdir}" install install -Dm644 COPYING "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE } #---- arch license gpg-key & sha256sums ---- arch=(x86_64) license=('custom') sha256sums=(c25a4838fc8e4c1c8aacb8bd620edb3084a3d63bf8987fdad3ca2758c63240f9) # popt-1.19.tar.gz ## a6c5abc9d6af16608d15d14b71484ea2d27686e1e59dd4a9ff31ed6a0440538e popt-1.19-02-x86_64.pkg.tar.lz