mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 07:47:20 +08:00
2fe1370281
Also making so that it lives inside /usr/bin, rather than /bin.
36 lines
926 B
Bash
36 lines
926 B
Bash
#
|
|
# Chakra Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
|
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
|
|
|
pkgname=gawk
|
|
pkgver=4.0.1
|
|
pkgrel=1
|
|
pkgdesc="The GNU awk utility interprets a special-purpose programming language that makes it possible to handle simple data-reformatting jobs with just a few lines of code."
|
|
arch=('i686' 'x86_64')
|
|
url="http://www.gnu.org/software/gawk/gawk.html"
|
|
license=('GPL')
|
|
groups=('base')
|
|
provides=('awk')
|
|
install="gawk.install"
|
|
source=("ftp://ftp.gnu.org/pub/gnu/${pkgname}/${pkgname}-${pkgver}.tar.gz")
|
|
depends=('sh' 'glibc')
|
|
makedepends=('gzip')
|
|
md5sums=('bab2bda483e9f32be65b43b8dab39fa5')
|
|
|
|
build() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
|
|
./configure --prefix=/usr
|
|
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
make install DESTDIR="${pkgdir}"
|
|
}
|
|
|
|
# vim:set ts=2 sw=2 et:
|