mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 12:57:14 +08:00
35 lines
727 B
Bash
35 lines
727 B
Bash
#
|
|
# Core Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
|
|
|
pkgname=gzip
|
|
pkgver=1.6
|
|
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{,.sig})
|
|
md5sums=('da981f86677d58a106496e68de6f8995'
|
|
'SKIP')
|
|
|
|
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
|
|
}
|