diff --git a/cpio/PKGBUILD b/cpio/PKGBUILD index e42e25c717d..0c093d42cb9 100644 --- a/cpio/PKGBUILD +++ b/cpio/PKGBUILD @@ -1,24 +1,27 @@ # Maintainer: Eon Jeong 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