cpio: Update to 2.15

This commit is contained in:
Christoph Reiter 2024-01-17 07:07:23 +01:00
parent 77752a8bf4
commit 6c9f001012

View File

@ -1,24 +1,27 @@
# Maintainer: Eon Jeong <administrator@korea.ac.kr>
pkgname=cpio
pkgver=2.14
pkgver=2.15
pkgrel=1
pkgdesc="cpio - copy files to/from archives"
arch=('i686' 'x86_64')
url="https://www.gnu.org/software/cpio/"
msys2_repository_url="https://git.savannah.gnu.org/cgit/cpio.git"
license=('GPLv3')
depends=('libintl')
makedepends=('gettext-devel' 'autotools' 'gcc')
options=('staticlibs')
source=(https://ftp.gnu.org/pub/gnu/cpio/cpio-${pkgver}.tar.gz)
sha256sums=('145a340fd9d55f0b84779a44a12d5f79d77c99663967f8cfa168d7905ca52454')
sha256sums=('efa50ef983137eefc0a02fdb51509d624b5e3295c980aa127ceee4183455499e')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
local CYGWIN_CHOST="${CHOST/-msys/-cygwin}"
./configure \
--build=${CHOST} \
--host=${CHOST} \
--target=${CHOST} \
--build=${CYGWIN_CHOST} \
--host=${CYGWIN_CHOST} \
--target=${CYGWIN_CHOST} \
--prefix=/usr
make