32 lines
828 B
Bash
32 lines
828 B
Bash
# This is an example PKGBUILD file. Use this as a start to creating your own,
|
|
# and remove these comments. For more information, see 'man PKGBUILD'.
|
|
# NOTE: Please fill out the license field for your package! If it is unknown,
|
|
# then please put 'unknown'.
|
|
|
|
# Maintainer: Future Linux Team <future_linux@163.com>
|
|
pkgname=gzip
|
|
pkgver=1.13
|
|
pkgrel=1
|
|
pkgdesc="GNU compression utility"
|
|
arch=('x86_64')
|
|
url="https://www.gnu.org/software/gzip/"
|
|
license=('GPL-3.0-or-later')
|
|
groups=('base' 'base-devel')
|
|
depends=('glibc' 'bash' 'coreutils' 'sed' 'grep')
|
|
source=(https://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.xz)
|
|
sha256sums=(7454eb6935db17c6655576c2e1b0fabefd38b4d0936e0f87f48cd062ce91a057)
|
|
|
|
build() {
|
|
cd ${pkgname}-${pkgver}
|
|
|
|
${CONFIGURE}
|
|
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd ${pkgname}-${pkgver}
|
|
|
|
make DESTDIR=${pkgdir} install
|
|
}
|