47 lines
975 B
Bash
47 lines
975 B
Bash
# Maintainer: Alexey Pavlov <Alexpux@gmail.com>
|
|
|
|
pkgname=gzip
|
|
pkgver=1.13
|
|
pkgrel=1
|
|
pkgdesc="GNU compression utility"
|
|
arch=('i686' 'x86_64')
|
|
url="https://www.gnu.org/software/gzip/"
|
|
msys2_references=(
|
|
"cpe: cpe:/a:gnu:gzip"
|
|
)
|
|
license=('GPL3')
|
|
groups=('compression')
|
|
depends=('bash' 'less')
|
|
makedepends=('autotools' 'gcc')
|
|
source=(https://ftp.gnu.org/pub/gnu/gzip/gzip-$pkgver.tar.xz{,.sig})
|
|
sha256sums=('7454eb6935db17c6655576c2e1b0fabefd38b4d0936e0f87f48cd062ce91a057'
|
|
'SKIP')
|
|
validpgpkeys=('155D3FC500C834486D1EEA677FD9FCCB000BEEEE') # Jim Meyering <jim@meyering.net>
|
|
|
|
prepare() {
|
|
cd ${srcdir}/${pkgname}-${pkgver}
|
|
|
|
autoreconf -fiv
|
|
}
|
|
|
|
build() {
|
|
cd ${srcdir}/${pkgname}-${pkgver}
|
|
|
|
local CYGWIN_CHOST="${CHOST/-msys/-cygwin}"
|
|
./configure \
|
|
--build=${CYGWIN_CHOST} \
|
|
--prefix=/usr
|
|
|
|
make
|
|
}
|
|
|
|
check() {
|
|
cd ${srcdir}/${pkgname}-${pkgver}
|
|
make check || true
|
|
}
|
|
|
|
package() {
|
|
cd ${srcdir}/${pkgname}-${pkgver}
|
|
make DESTDIR=${pkgdir} install
|
|
}
|