mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-10 12:14:36 +08:00
29 lines
566 B
Bash
29 lines
566 B
Bash
pkgname=gzip
|
|
pkgver=1.8
|
|
pkgrel=1
|
|
pkgdesc="GNU compression utility"
|
|
arch=('x86_64')
|
|
url="http://www.gnu.org/software/gzip/"
|
|
license=('GPL3')
|
|
groups=('base' 'base-devel')
|
|
depends=('glibc' 'bash' 'less')
|
|
install=gzip.install
|
|
source=(ftp://ftp.gnu.org/pub/gnu/gzip/gzip-$pkgver.tar.xz)
|
|
md5sums=('f7caabb65cddc1a4165b398009bd05b9')
|
|
|
|
build() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
./configure --prefix=/usr
|
|
make
|
|
}
|
|
|
|
check() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
make check
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
make prefix=${pkgdir}/usr install
|
|
}
|