2022-03-20 13:19:37 +01:00
|
|
|
#!/usr/bin/bash
|
|
|
|
# JOBoRun : Jwm OpenBox Obarun RUNit
|
2022-11-15 16:49:16 +01:00
|
|
|
# Maintainer : Joe Bo Run <joborun@disroot.org>
|
2024-08-22 17:58:58 +02:00
|
|
|
# PkgSource : url="https://git.disroot.org/joborun-pkg/jobcore/src/branch/main/$pkgname"
|
2022-11-15 16:49:16 +01:00
|
|
|
# Website : https://pozol.eu
|
2022-03-20 13:19:37 +01:00
|
|
|
#-----------------------------------------| DESCRIPTION |---------------------------------------
|
|
|
|
|
|
|
|
pkgname=popt
|
2022-11-15 16:49:16 +01:00
|
|
|
pkgver=1.19
|
2024-09-06 22:57:22 +02:00
|
|
|
pkgrel=02
|
2022-03-20 13:19:37 +01:00
|
|
|
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
|
|
|
|
}
|
|
|
|
|
2024-09-06 22:57:22 +02:00
|
|
|
#---- arch license gpg-key & sha256sums ----
|
|
|
|
|
|
|
|
arch=(x86_64)
|
2022-03-20 13:19:37 +01:00
|
|
|
|
|
|
|
license=('custom')
|
|
|
|
|
2022-11-15 16:49:16 +01:00
|
|
|
sha256sums=(c25a4838fc8e4c1c8aacb8bd620edb3084a3d63bf8987fdad3ca2758c63240f9) # popt-1.19.tar.gz
|
|
|
|
|
2024-09-06 22:57:22 +02:00
|
|
|
## a6c5abc9d6af16608d15d14b71484ea2d27686e1e59dd4a9ff31ed6a0440538e popt-1.19-02-x86_64.pkg.tar.lz
|
2022-11-15 16:49:16 +01:00
|
|
|
|